Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatClient ¶
type ChatClient interface { ChatGetMutableChat(ctx context.Context, in *chat.TLChatGetMutableChat) (*chat.MutableChat, error) ChatGetChatListByIdList(ctx context.Context, in *chat.TLChatGetChatListByIdList) (*chat.Vector_MutableChat, error) ChatGetChatBySelfId(ctx context.Context, in *chat.TLChatGetChatBySelfId) (*chat.MutableChat, error) ChatCreateChat2(ctx context.Context, in *chat.TLChatCreateChat2) (*chat.MutableChat, error) ChatDeleteChat(ctx context.Context, in *chat.TLChatDeleteChat) (*chat.MutableChat, error) ChatDeleteChatUser(ctx context.Context, in *chat.TLChatDeleteChatUser) (*chat.MutableChat, error) ChatEditChatTitle(ctx context.Context, in *chat.TLChatEditChatTitle) (*chat.MutableChat, error) ChatEditChatAbout(ctx context.Context, in *chat.TLChatEditChatAbout) (*chat.MutableChat, error) ChatEditChatPhoto(ctx context.Context, in *chat.TLChatEditChatPhoto) (*chat.MutableChat, error) ChatEditChatAdmin(ctx context.Context, in *chat.TLChatEditChatAdmin) (*chat.MutableChat, error) ChatEditChatDefaultBannedRights(ctx context.Context, in *chat.TLChatEditChatDefaultBannedRights) (*chat.MutableChat, error) ChatAddChatUser(ctx context.Context, in *chat.TLChatAddChatUser) (*chat.MutableChat, error) ChatGetMutableChatByLink(ctx context.Context, in *chat.TLChatGetMutableChatByLink) (*chat.MutableChat, error) ChatToggleNoForwards(ctx context.Context, in *chat.TLChatToggleNoForwards) (*chat.MutableChat, error) ChatMigratedToChannel(ctx context.Context, in *chat.TLChatMigratedToChannel) (*mtproto.Bool, error) ChatGetChatParticipantIdList(ctx context.Context, in *chat.TLChatGetChatParticipantIdList) (*chat.Vector_Long, error) ChatGetUsersChatIdList(ctx context.Context, in *chat.TLChatGetUsersChatIdList) (*chat.Vector_UserChatIdList, error) ChatGetMyChatList(ctx context.Context, in *chat.TLChatGetMyChatList) (*chat.Vector_MutableChat, error) ChatExportChatInvite(ctx context.Context, in *chat.TLChatExportChatInvite) (*mtproto.ExportedChatInvite, error) ChatGetAdminsWithInvites(ctx context.Context, in *chat.TLChatGetAdminsWithInvites) (*chat.Vector_ChatAdminWithInvites, error) ChatGetExportedChatInvite(ctx context.Context, in *chat.TLChatGetExportedChatInvite) (*mtproto.ExportedChatInvite, error) ChatGetExportedChatInvites(ctx context.Context, in *chat.TLChatGetExportedChatInvites) (*chat.Vector_ExportedChatInvite, error) ChatCheckChatInvite(ctx context.Context, in *chat.TLChatCheckChatInvite) (*chat.ChatInviteExt, error) ChatImportChatInvite(ctx context.Context, in *chat.TLChatImportChatInvite) (*chat.MutableChat, error) ChatGetChatInviteImporters(ctx context.Context, in *chat.TLChatGetChatInviteImporters) (*chat.Vector_ChatInviteImporter, error) ChatDeleteExportedChatInvite(ctx context.Context, in *chat.TLChatDeleteExportedChatInvite) (*mtproto.Bool, error) ChatDeleteRevokedExportedChatInvites(ctx context.Context, in *chat.TLChatDeleteRevokedExportedChatInvites) (*mtproto.Bool, error) ChatEditExportedChatInvite(ctx context.Context, in *chat.TLChatEditExportedChatInvite) (*chat.Vector_ExportedChatInvite, error) ChatSetChatAvailableReactions(ctx context.Context, in *chat.TLChatSetChatAvailableReactions) (*chat.MutableChat, error) ChatSetHistoryTTL(ctx context.Context, in *chat.TLChatSetHistoryTTL) (*chat.MutableChat, error) ChatSearch(ctx context.Context, in *chat.TLChatSearch) (*chat.Vector_MutableChat, error) ChatGetRecentChatInviteRequesters(ctx context.Context, in *chat.TLChatGetRecentChatInviteRequesters) (*chat.RecentChatInviteRequesters, error) ChatHideChatJoinRequests(ctx context.Context, in *chat.TLChatHideChatJoinRequests) (*chat.RecentChatInviteRequesters, error) ChatImportChatInvite2(ctx context.Context, in *chat.TLChatImportChatInvite2) (*chat.ChatInviteImported, error) }
func NewChatClient ¶
func NewChatClient(cli zrpc.Client) ChatClient
type ChatClientHelper ¶
type ChatClientHelper struct {
// contains filtered or unexported fields
}
func NewChatClientHelper ¶
func NewChatClientHelper(cli zrpc.Client) *ChatClientHelper
func (*ChatClientHelper) CheckParticipantIsExist ¶ added in v0.86.3
func (*ChatClientHelper) Client ¶
func (m *ChatClientHelper) Client() ChatClient
func (*ChatClientHelper) GetChatListByIdList ¶
Click to show internal directories.
Click to hide internal directories.