Skip to content

Get Specific Message #23

@gary-kim

Description

@gary-kim

It would be nice to have a function for getting a specific message from a channel with the channel token and the message id.

For the most part, we are going to be doing something similar to the RecieveMessages function but instead of long-poll, we are requesting a specific message id.

API information can be found here: https://nextcloud-talk.readthedocs.io/en/latest/chat/

go-nc-talk/room/room.go

Lines 89 to 90 in 7655c61

// ReceiveMessages starts watching for new messages
func (t *TalkRoom) ReceiveMessages(ctx context.Context) (chan ocs.TalkRoomMessageData, error) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions