Documentation ¶
Index ¶
- Variables
- type API
- func (api *API) AddMembers(ctx context.Context, communityID types.HexBytes, chatID string, ...) (*GroupChatResponseWithInvitations, error)
- func (api *API) CreateGroupChat(ctx context.Context, communityID types.HexBytes, name string, members []string) (*GroupChatResponse, error)
- func (api *API) CreateGroupChatFromInvitation(communityID types.HexBytes, name string, chatID string, adminPK string) (*GroupChatResponse, error)
- func (api *API) CreateOneToOneChat(ctx context.Context, communityID types.HexBytes, ID types.HexBytes, ...) (*CreateOneToOneChatResponse, error)
- func (api *API) EditChat(ctx context.Context, communityID types.HexBytes, chatID string, name string, ...) (*protocol.MessengerResponse, error)
- func (api *API) GetGroupChatInvitations() ([]*protocol.GroupChatInvitation, error)
- func (api *API) LeaveChat(ctx context.Context, communityID types.HexBytes, chatID string, remove bool) (*GroupChatResponse, error)
- func (api *API) MakeAdmin(ctx context.Context, communityID types.HexBytes, chatID string, member string) (*GroupChatResponse, error)
- func (api *API) RemoveMember(ctx context.Context, communityID types.HexBytes, chatID string, member string) (*GroupChatResponse, error)
- func (api *API) RenameChat(ctx context.Context, communityID types.HexBytes, chatID string, name string) (*GroupChatResponse, error)
- func (api *API) SendAudio(ctx context.Context, communityID types.HexBytes, chatID string, ...) (*SendMessageResponse, error)
- func (api *API) SendGroupChatInvitationRejection(ctx context.Context, invitationRequestID string) ([]*protocol.GroupChatInvitation, error)
- func (api *API) SendGroupChatInvitationRequest(ctx context.Context, communityID types.HexBytes, chatID string, adminPK string, ...) (*GroupChatResponseWithInvitations, error)
- func (api *API) SendImages(ctx context.Context, communityID types.HexBytes, chatID string, ...) (*SendMessageResponse, error)
- func (api *API) SendMessage(ctx context.Context, communityID types.HexBytes, chatID string, text string, ...) (*SendMessageResponse, error)
- func (api *API) SendSticker(ctx context.Context, communityID types.HexBytes, chatID string, packID int32, ...) (*SendMessageResponse, error)
- func (api *API) StartGroupChat(ctx context.Context, communityID types.HexBytes, name string, members []string) (*StartGroupChatResponse, error)
- type CreateOneToOneChatResponse
- type GroupChatResponse
- type GroupChatResponseWithInvitations
- type SendMessageResponse
- type Service
- type StartGroupChatResponse
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) AddMembers ¶
func (*API) CreateGroupChat ¶
func (*API) CreateGroupChatFromInvitation ¶
func (*API) CreateOneToOneChat ¶
func (*API) GetGroupChatInvitations ¶
func (api *API) GetGroupChatInvitations() ([]*protocol.GroupChatInvitation, error)
func (*API) RemoveMember ¶
func (*API) RenameChat ¶
func (*API) SendGroupChatInvitationRejection ¶
func (*API) SendGroupChatInvitationRequest ¶
func (*API) SendImages ¶
func (*API) SendMessage ¶
func (*API) SendSticker ¶
type GroupChatResponse ¶
type SendMessageResponse ¶
Click to show internal directories.
Click to hide internal directories.