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) 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) 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) MessagesGetAllChats(in *mtproto.TLMessagesGetAllChats) (*mtproto.Messages_Chats, 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) MessagesGetFullChat(in *mtproto.TLMessagesGetFullChat) (*mtproto.Messages_ChatFull, error)
- func (c *ChatsCore) MessagesGetMessageReadParticipants2C6F97B7(in *mtproto.TLMessagesGetMessageReadParticipants2C6F97B7) (*mtproto.Vector_Long, error)
- func (c *ChatsCore) MessagesGetMessageReadParticipants31C1C44F(in *mtproto.TLMessagesGetMessageReadParticipants31C1C44F) (*mtproto.Vector_ReadParticipantDate, 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) 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) 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) MessagesGetAllChats ¶
func (c *ChatsCore) MessagesGetAllChats(in *mtproto.TLMessagesGetAllChats) (*mtproto.Messages_Chats, error)
MessagesGetAllChats messages.getAllChats#875f74be except_ids:Vector<long> = messages.Chats;
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) MessagesGetFullChat ¶
func (c *ChatsCore) MessagesGetFullChat(in *mtproto.TLMessagesGetFullChat) (*mtproto.Messages_ChatFull, error)
MessagesGetFullChat messages.getFullChat#aeb00b34 chat_id:long = messages.ChatFull;
func (*ChatsCore) MessagesGetMessageReadParticipants2C6F97B7 ¶ added in v0.96.0
func (c *ChatsCore) MessagesGetMessageReadParticipants2C6F97B7(in *mtproto.TLMessagesGetMessageReadParticipants2C6F97B7) (*mtproto.Vector_Long, error)
MessagesGetMessageReadParticipants2C6F97B7 messages.getMessageReadParticipants#2c6f97b7 peer:InputPeer msg_id:int = Vector<long>;
func (*ChatsCore) MessagesGetMessageReadParticipants31C1C44F ¶ added in v0.96.0
func (c *ChatsCore) MessagesGetMessageReadParticipants31C1C44F(in *mtproto.TLMessagesGetMessageReadParticipants31C1C44F) (*mtproto.Vector_ReadParticipantDate, error)
MessagesGetMessageReadParticipants31C1C44F messages.getMessageReadParticipants#31c1c44f peer:InputPeer msg_id:int = Vector<ReadParticipantDate>;
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.createChat_handler.go
- messages.deleteChatUser_handler.go
- messages.deleteChat_handler.go
- messages.editChatAbout_handler.go
- messages.editChatAdmin_handler.go
- messages.editChatDefaultBannedRights_handler.go
- messages.editChatPhoto_handler.go
- messages.editChatTitle_handler.go
- messages.getAllChats_handler.go
- messages.getChats_handler.go
- messages.getCommonChats_handler.go
- messages.getFullChat_handler.go
- messages.getMessageReadParticipants2C6F97B7_handler.go
- messages.getMessageReadParticipants31C1C44F_handler.go
- messages.migrateChat_handler.go