Documentation
¶
Index ¶
- type ChatsCore
- func (c *ChatsCore) ChannelsConvertToGigagroup(in *mtproto.TLChannelsConvertToGigagroup) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesAddChatUser(in *mtproto.TLMessagesAddChatUser) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesCheckChatInvite(in *mtproto.TLMessagesCheckChatInvite) (*mtproto.ChatInvite, error)
- func (c *ChatsCore) MessagesCreateChat(in *mtproto.TLMessagesCreateChat) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesDeleteChat(in *mtproto.TLMessagesDeleteChat) (*mtproto.Bool, error)
- func (c *ChatsCore) MessagesDeleteChatUser(in *mtproto.TLMessagesDeleteChatUser) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesDeleteExportedChatInvite(in *mtproto.TLMessagesDeleteExportedChatInvite) (*mtproto.Bool, error)
- func (c *ChatsCore) MessagesDeleteRevokedExportedChatInvites(in *mtproto.TLMessagesDeleteRevokedExportedChatInvites) (*mtproto.Bool, error)
- func (c *ChatsCore) MessagesEditChatAbout(in *mtproto.TLMessagesEditChatAbout) (*mtproto.Bool, error)
- func (c *ChatsCore) MessagesEditChatAdmin(in *mtproto.TLMessagesEditChatAdmin) (*mtproto.Bool, error)
- func (c *ChatsCore) MessagesEditChatDefaultBannedRights(in *mtproto.TLMessagesEditChatDefaultBannedRights) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesEditChatPhoto(in *mtproto.TLMessagesEditChatPhoto) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesEditChatTitle(in *mtproto.TLMessagesEditChatTitle) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesEditExportedChatInvite(in *mtproto.TLMessagesEditExportedChatInvite) (*mtproto.Messages_ExportedChatInvite, error)
- func (c *ChatsCore) MessagesExportChatInvite(in *mtproto.TLMessagesExportChatInvite) (*mtproto.ExportedChatInvite, error)
- func (c *ChatsCore) MessagesGetAdminsWithInvites(in *mtproto.TLMessagesGetAdminsWithInvites) (*mtproto.Messages_ChatAdminsWithInvites, error)
- func (c *ChatsCore) MessagesGetAllChats(in *mtproto.TLMessagesGetAllChats) (*mtproto.Messages_Chats, error)
- func (c *ChatsCore) MessagesGetChatInviteImporters(in *mtproto.TLMessagesGetChatInviteImporters) (*mtproto.Messages_ChatInviteImporters, error)
- func (c *ChatsCore) MessagesGetChats(in *mtproto.TLMessagesGetChats) (*mtproto.Messages_Chats, error)
- func (c *ChatsCore) MessagesGetCommonChats(in *mtproto.TLMessagesGetCommonChats) (*mtproto.Messages_Chats, error)
- func (c *ChatsCore) MessagesGetExportedChatInvite(in *mtproto.TLMessagesGetExportedChatInvite) (*mtproto.Messages_ExportedChatInvite, error)
- func (c *ChatsCore) MessagesGetExportedChatInvites(in *mtproto.TLMessagesGetExportedChatInvites) (*mtproto.Messages_ExportedChatInvites, error)
- func (c *ChatsCore) MessagesGetFullChat(in *mtproto.TLMessagesGetFullChat) (*mtproto.Messages_ChatFull, error)
- func (c *ChatsCore) MessagesGetMessageReadParticipants(in *mtproto.TLMessagesGetMessageReadParticipants) (*mtproto.Vector_Long, error)
- func (c *ChatsCore) MessagesHideAllChatJoinRequests(in *mtproto.TLMessagesHideAllChatJoinRequests) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesHideChatJoinRequest(in *mtproto.TLMessagesHideChatJoinRequest) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesImportChatInvite(in *mtproto.TLMessagesImportChatInvite) (*mtproto.Updates, error)
- func (c *ChatsCore) MessagesMigrateChat(in *mtproto.TLMessagesMigrateChat) (*mtproto.Updates, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatsCore ¶
type ChatsCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func (*ChatsCore) ChannelsConvertToGigagroup ¶
func (c *ChatsCore) ChannelsConvertToGigagroup(in *mtproto.TLChannelsConvertToGigagroup) (*mtproto.Updates, error)
ChannelsConvertToGigagroup channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
func (*ChatsCore) MessagesAddChatUser ¶
func (c *ChatsCore) MessagesAddChatUser(in *mtproto.TLMessagesAddChatUser) (*mtproto.Updates, error)
MessagesAddChatUser messages.addChatUser#f24753e3 chat_id:long user_id:InputUser fwd_limit:int = Updates;
func (*ChatsCore) MessagesCheckChatInvite ¶
func (c *ChatsCore) MessagesCheckChatInvite(in *mtproto.TLMessagesCheckChatInvite) (*mtproto.ChatInvite, error)
MessagesCheckChatInvite messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;
func (*ChatsCore) MessagesCreateChat ¶
MessagesCreateChat messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;
func (*ChatsCore) MessagesDeleteChat ¶
MessagesDeleteChat messages.deleteChat#5bd0ee50 chat_id:long = Bool;
func (*ChatsCore) MessagesDeleteChatUser ¶
func (c *ChatsCore) MessagesDeleteChatUser(in *mtproto.TLMessagesDeleteChatUser) (*mtproto.Updates, error)
MessagesDeleteChatUser messages.deleteChatUser#a2185cab flags:# revoke_history:flags.0?true chat_id:long user_id:InputUser = Updates;
func (*ChatsCore) MessagesDeleteExportedChatInvite ¶
func (c *ChatsCore) MessagesDeleteExportedChatInvite(in *mtproto.TLMessagesDeleteExportedChatInvite) (*mtproto.Bool, error)
MessagesDeleteExportedChatInvite messages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool;
func (*ChatsCore) MessagesDeleteRevokedExportedChatInvites ¶
func (c *ChatsCore) MessagesDeleteRevokedExportedChatInvites(in *mtproto.TLMessagesDeleteRevokedExportedChatInvites) (*mtproto.Bool, error)
MessagesDeleteRevokedExportedChatInvites messages.deleteRevokedExportedChatInvites#56987bd5 peer:InputPeer admin_id:InputUser = Bool;
func (*ChatsCore) MessagesEditChatAbout ¶
func (c *ChatsCore) MessagesEditChatAbout(in *mtproto.TLMessagesEditChatAbout) (*mtproto.Bool, error)
MessagesEditChatAbout messages.editChatAbout#def60797 peer:InputPeer about:string = Bool;
func (*ChatsCore) MessagesEditChatAdmin ¶
func (c *ChatsCore) MessagesEditChatAdmin(in *mtproto.TLMessagesEditChatAdmin) (*mtproto.Bool, error)
MessagesEditChatAdmin messages.editChatAdmin#a85bd1c2 chat_id:long user_id:InputUser is_admin:Bool = Bool;
func (*ChatsCore) MessagesEditChatDefaultBannedRights ¶
func (c *ChatsCore) MessagesEditChatDefaultBannedRights(in *mtproto.TLMessagesEditChatDefaultBannedRights) (*mtproto.Updates, error)
MessagesEditChatDefaultBannedRights messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates;
func (*ChatsCore) MessagesEditChatPhoto ¶
func (c *ChatsCore) MessagesEditChatPhoto(in *mtproto.TLMessagesEditChatPhoto) (*mtproto.Updates, error)
MessagesEditChatPhoto messages.editChatPhoto#35ddd674 chat_id:long photo:InputChatPhoto = Updates;
func (*ChatsCore) MessagesEditChatTitle ¶
func (c *ChatsCore) MessagesEditChatTitle(in *mtproto.TLMessagesEditChatTitle) (*mtproto.Updates, error)
MessagesEditChatTitle messages.editChatTitle#73783ffd chat_id:long title:string = Updates;
func (*ChatsCore) MessagesEditExportedChatInvite ¶
func (c *ChatsCore) MessagesEditExportedChatInvite(in *mtproto.TLMessagesEditExportedChatInvite) (*mtproto.Messages_ExportedChatInvite, error)
MessagesEditExportedChatInvite messages.editExportedChatInvite#bdca2f75 flags:# revoked:flags.2?true peer:InputPeer link:string expire_date:flags.0?int usage_limit:flags.1?int request_needed:flags.3?Bool title:flags.4?string = messages.ExportedChatInvite;
func (*ChatsCore) MessagesExportChatInvite ¶
func (c *ChatsCore) MessagesExportChatInvite(in *mtproto.TLMessagesExportChatInvite) (*mtproto.ExportedChatInvite, error)
MessagesExportChatInvite messages.exportChatInvite#a02ce5d5 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string = ExportedChatInvite;
func (*ChatsCore) MessagesGetAdminsWithInvites ¶
func (c *ChatsCore) MessagesGetAdminsWithInvites(in *mtproto.TLMessagesGetAdminsWithInvites) (*mtproto.Messages_ChatAdminsWithInvites, error)
MessagesGetAdminsWithInvites messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites;
func (*ChatsCore) MessagesGetAllChats ¶
func (c *ChatsCore) MessagesGetAllChats(in *mtproto.TLMessagesGetAllChats) (*mtproto.Messages_Chats, error)
MessagesGetAllChats messages.getAllChats#875f74be except_ids:Vector<long> = messages.Chats;
func (*ChatsCore) MessagesGetChatInviteImporters ¶
func (c *ChatsCore) MessagesGetChatInviteImporters(in *mtproto.TLMessagesGetChatInviteImporters) (*mtproto.Messages_ChatInviteImporters, error)
MessagesGetChatInviteImporters messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;
func (*ChatsCore) MessagesGetChats ¶
func (c *ChatsCore) MessagesGetChats(in *mtproto.TLMessagesGetChats) (*mtproto.Messages_Chats, error)
MessagesGetChats messages.getChats#49e9528f id:Vector<long> = messages.Chats;
func (*ChatsCore) MessagesGetCommonChats ¶
func (c *ChatsCore) MessagesGetCommonChats(in *mtproto.TLMessagesGetCommonChats) (*mtproto.Messages_Chats, error)
MessagesGetCommonChats messages.getCommonChats#e40ca104 user_id:InputUser max_id:long limit:int = messages.Chats;
func (*ChatsCore) MessagesGetExportedChatInvite ¶
func (c *ChatsCore) MessagesGetExportedChatInvite(in *mtproto.TLMessagesGetExportedChatInvite) (*mtproto.Messages_ExportedChatInvite, error)
MessagesGetExportedChatInvite messages.getExportedChatInvite#73746f5c peer:InputPeer link:string = messages.ExportedChatInvite;
func (*ChatsCore) MessagesGetExportedChatInvites ¶
func (c *ChatsCore) MessagesGetExportedChatInvites(in *mtproto.TLMessagesGetExportedChatInvites) (*mtproto.Messages_ExportedChatInvites, error)
MessagesGetExportedChatInvites messages.getExportedChatInvites#a2b5a3f6 flags:# revoked:flags.3?true peer:InputPeer admin_id:InputUser offset_date:flags.2?int offset_link:flags.2?string limit:int = messages.ExportedChatInvites;
func (*ChatsCore) MessagesGetFullChat ¶
func (c *ChatsCore) MessagesGetFullChat(in *mtproto.TLMessagesGetFullChat) (*mtproto.Messages_ChatFull, error)
MessagesGetFullChat messages.getFullChat#aeb00b34 chat_id:long = messages.ChatFull;
func (*ChatsCore) MessagesGetMessageReadParticipants ¶
func (c *ChatsCore) MessagesGetMessageReadParticipants(in *mtproto.TLMessagesGetMessageReadParticipants) (*mtproto.Vector_Long, error)
MessagesGetMessageReadParticipants messages.getMessageReadParticipants#2c6f97b7 peer:InputPeer msg_id:int = Vector<long>;
func (*ChatsCore) MessagesHideAllChatJoinRequests ¶
func (c *ChatsCore) MessagesHideAllChatJoinRequests(in *mtproto.TLMessagesHideAllChatJoinRequests) (*mtproto.Updates, error)
MessagesHideAllChatJoinRequests messages.hideAllChatJoinRequests#e085f4ea flags:# approved:flags.0?true peer:InputPeer link:flags.1?string = Updates;
func (*ChatsCore) MessagesHideChatJoinRequest ¶
func (c *ChatsCore) MessagesHideChatJoinRequest(in *mtproto.TLMessagesHideChatJoinRequest) (*mtproto.Updates, error)
MessagesHideChatJoinRequest messages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPeer user_id:InputUser = Updates;
func (*ChatsCore) MessagesImportChatInvite ¶
func (c *ChatsCore) MessagesImportChatInvite(in *mtproto.TLMessagesImportChatInvite) (*mtproto.Updates, error)
MessagesImportChatInvite messages.importChatInvite#6c50051c hash:string = Updates;
func (*ChatsCore) MessagesMigrateChat ¶
func (c *ChatsCore) MessagesMigrateChat(in *mtproto.TLMessagesMigrateChat) (*mtproto.Updates, error)
MessagesMigrateChat messages.migrateChat#a2875319 chat_id:long = Updates;
Source Files
¶
- channels.convertToGigagroup_handler.go
- core.go
- messages.addChatUser_handler.go
- messages.checkChatInvite_handler.go
- messages.createChat_handler.go
- messages.deleteChatUser_handler.go
- messages.deleteChat_handler.go
- messages.deleteExportedChatInvite_handler.go
- messages.deleteRevokedExportedChatInvites_handler.go
- messages.editChatAbout_handler.go
- messages.editChatAdmin_handler.go
- messages.editChatDefaultBannedRights_handler.go
- messages.editChatPhoto_handler.go
- messages.editChatTitle_handler.go
- messages.editExportedChatInvite_handler.go
- messages.exportChatInvite_handler.go
- messages.getAdminsWithInvites_handler.go
- messages.getAllChats_handler.go
- messages.getChatInviteImporters_handler.go
- messages.getChats_handler.go
- messages.getCommonChats_handler.go
- messages.getExportedChatInvite_handler.go
- messages.getExportedChatInvites_handler.go
- messages.getFullChat_handler.go
- messages.getMessageReadParticipants_handler.go
- messages.hideAllChatJoinRequests_handler.go
- messages.hideChatJoinRequest_handler.go
- messages.importChatInvite_handler.go
- messages.migrateChat_handler.go