Documentation ¶
Index ¶
- type MsgCore
- func (c *MsgCore) MsgDeleteChatHistory(in *msg.TLMsgDeleteChatHistory) (*mtproto.Bool, error)
- func (c *MsgCore) MsgDeleteHistory(in *msg.TLMsgDeleteHistory) (*mtproto.Messages_AffectedHistory, error)
- func (c *MsgCore) MsgDeleteMessages(in *msg.TLMsgDeleteMessages) (*mtproto.Messages_AffectedMessages, error)
- func (c *MsgCore) MsgDeletePhoneCallHistory(in *msg.TLMsgDeletePhoneCallHistory) (*mtproto.Messages_AffectedFoundMessages, error)
- func (c *MsgCore) MsgEditMessage(in *msg.TLMsgEditMessage) (*mtproto.Updates, error)
- func (c *MsgCore) MsgPushUserMessage(in *msg.TLMsgPushUserMessage) (*mtproto.Bool, error)
- func (c *MsgCore) MsgReadHistory(in *msg.TLMsgReadHistory) (*mtproto.Messages_AffectedMessages, error)
- func (c *MsgCore) MsgReadMessageContents(in *msg.TLMsgReadMessageContents) (*mtproto.Messages_AffectedMessages, error)
- func (c *MsgCore) MsgSendMessage(in *msg.TLMsgSendMessage) (*mtproto.Updates, error)
- func (c *MsgCore) MsgSendMessageV2(in *msg.TLMsgSendMessageV2) (*mtproto.UpdateList, error)
- func (c *MsgCore) MsgSendMultiMessage(in *msg.TLMsgSendMultiMessage) (*mtproto.Updates, error)
- func (c *MsgCore) MsgUnpinAllMessages(in *msg.TLMsgUnpinAllMessages) (*mtproto.Messages_AffectedHistory, error)
- func (c *MsgCore) MsgUpdatePinnedMessage(in *msg.TLMsgUpdatePinnedMessage) (*mtproto.Updates, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgCore ¶
type MsgCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func (*MsgCore) MsgDeleteChatHistory ¶
MsgDeleteChatHistory msg.deleteChatHistory chat_id:long delete_user_id:long = Bool;
func (*MsgCore) MsgDeleteHistory ¶
func (c *MsgCore) MsgDeleteHistory(in *msg.TLMsgDeleteHistory) (*mtproto.Messages_AffectedHistory, error)
MsgDeleteHistory msg.deleteHistory user_id:long auth_key_id:long peer_type:int peer_id:long just_clear:Bool revoke:Bool = messages.AffectedHistory;
func (*MsgCore) MsgDeleteMessages ¶
func (c *MsgCore) MsgDeleteMessages(in *msg.TLMsgDeleteMessages) (*mtproto.Messages_AffectedMessages, error)
MsgDeleteMessages msg.deleteMessages user_id:long auth_key_id:long peer_type:int peer_id:long revoke:Bool id:Vector<int> = messages.AffectedMessages;
func (*MsgCore) MsgDeletePhoneCallHistory ¶
func (c *MsgCore) MsgDeletePhoneCallHistory(in *msg.TLMsgDeletePhoneCallHistory) (*mtproto.Messages_AffectedFoundMessages, error)
MsgDeletePhoneCallHistory msg.deletePhoneCallHistory user_id:long auth_key_id:long revoke:Bool = messages.AffectedFoundMessages;
func (*MsgCore) MsgEditMessage ¶
MsgEditMessage msg.editMessage user_id:long auth_key_id:long peer_type:int peer_id:long message:OutboxMessage = Updates;
func (*MsgCore) MsgPushUserMessage ¶
MsgPushUserMessage msg.pushUserMessage user_id:long auth_key_id:long (UserMessage) = Bool;
func (*MsgCore) MsgReadHistory ¶
func (c *MsgCore) MsgReadHistory(in *msg.TLMsgReadHistory) (*mtproto.Messages_AffectedMessages, error)
MsgReadHistory msg.readHistory user_id:long auth_key_id:long peer_type:int peer_id:long max_id:int = messages.AffectedMessages;
func (*MsgCore) MsgReadMessageContents ¶
func (c *MsgCore) MsgReadMessageContents(in *msg.TLMsgReadMessageContents) (*mtproto.Messages_AffectedMessages, error)
MsgReadMessageContents msg.readMessageContents user_id:long auth_key_id:long peer_type:int peer_id:long id:Vector<ContentMessage> = messages.AffectedMessage;
func (*MsgCore) MsgSendMessage ¶
MsgSendMessage msg.sendMessage user_id:long auth_key_id:long peer_type:int peer_id:long message:OutboxMessage = Updates;
func (*MsgCore) MsgSendMessageV2 ¶
func (c *MsgCore) MsgSendMessageV2(in *msg.TLMsgSendMessageV2) (*mtproto.UpdateList, error)
MsgSendMessageV2 msg.sendMessageV2 user_id:long auth_key_id:long peer_type:int peer_id:long message:Vector<OutboxMessage> = UpdateList;
func (*MsgCore) MsgSendMultiMessage ¶
MsgSendMultiMessage msg.sendMultiMessage user_id:long auth_key_id:long peer_type:int peer_id:long message:Vector<OutboxMessage> = Updates;
func (*MsgCore) MsgUnpinAllMessages ¶
func (c *MsgCore) MsgUnpinAllMessages(in *msg.TLMsgUnpinAllMessages) (*mtproto.Messages_AffectedHistory, error)
MsgUnpinAllMessages msg.unpinAllMessages user_id:long auth_key_id:long peer_type:int peer_id:long = messages.AffectedHistory;
func (*MsgCore) MsgUpdatePinnedMessage ¶
func (c *MsgCore) MsgUpdatePinnedMessage(in *msg.TLMsgUpdatePinnedMessage) (*mtproto.Updates, error)
MsgUpdatePinnedMessage msg.updatePinnedMessage flags:# user_id:long auth_key_id:long silent:flags.0?true unpin:flags.1?true pm_oneside:flags.2?true peer_type:int peer_id:long id:int = Updates;
Source Files ¶
- core.go
- msg.deleteChatHistory_handler.go
- msg.deleteHistory_handler.go
- msg.deleteMessages_handler.go
- msg.deletePhoneCallHistory_handler.go
- msg.editMessage_handler.go
- msg.pushUserMessage_handler.go
- msg.readHistory_handler.go
- msg.readMessageContents_handler.go
- msg.sendMessageV2_handler.go
- msg.sendMessage_handler.go
- msg.sendMultiMessage_handler.go
- msg.unpinAllMessages_handler.go
- msg.updatePinnedMessage_handler.go