Documentation ¶
Index ¶
- type DialogsCore
- func (c *DialogsCore) MessagesGetDialogUnreadMarks(in *mtproto.TLMessagesGetDialogUnreadMarks) (*mtproto.Vector_DialogPeer, error)
- func (c *DialogsCore) MessagesGetDialogs(in *mtproto.TLMessagesGetDialogs) (*mtproto.Messages_Dialogs, error)
- func (c *DialogsCore) MessagesGetOnlines(in *mtproto.TLMessagesGetOnlines) (*mtproto.ChatOnlines, error)
- func (c *DialogsCore) MessagesGetPeerDialogs(in *mtproto.TLMessagesGetPeerDialogs) (*mtproto.Messages_PeerDialogs, error)
- func (c *DialogsCore) MessagesGetPeerSettings(in *mtproto.TLMessagesGetPeerSettings) (*mtproto.Messages_PeerSettings, error)
- func (c *DialogsCore) MessagesGetPinnedDialogs(in *mtproto.TLMessagesGetPinnedDialogs) (*mtproto.Messages_PeerDialogs, error)
- func (c *DialogsCore) MessagesHidePeerSettingsBar(in *mtproto.TLMessagesHidePeerSettingsBar) (*mtproto.Bool, error)
- func (c *DialogsCore) MessagesMarkDialogUnread(in *mtproto.TLMessagesMarkDialogUnread) (*mtproto.Bool, error)
- func (c *DialogsCore) MessagesReorderPinnedDialogs(in *mtproto.TLMessagesReorderPinnedDialogs) (*mtproto.Bool, error)
- func (c *DialogsCore) MessagesSendScreenshotNotification(in *mtproto.TLMessagesSendScreenshotNotification) (*mtproto.Updates, error)
- func (c *DialogsCore) MessagesSetHistoryTTL(in *mtproto.TLMessagesSetHistoryTTL) (*mtproto.Updates, error)
- func (c *DialogsCore) MessagesSetTyping(in *mtproto.TLMessagesSetTyping) (*mtproto.Bool, error)
- func (c *DialogsCore) MessagesToggleDialogPin(in *mtproto.TLMessagesToggleDialogPin) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DialogsCore ¶
type DialogsCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *DialogsCore
func (*DialogsCore) MessagesGetDialogUnreadMarks ¶
func (c *DialogsCore) MessagesGetDialogUnreadMarks(in *mtproto.TLMessagesGetDialogUnreadMarks) (*mtproto.Vector_DialogPeer, error)
MessagesGetDialogUnreadMarks messages.getDialogUnreadMarks#22e24e22 = Vector<DialogPeer>;
func (*DialogsCore) MessagesGetDialogs ¶
func (c *DialogsCore) MessagesGetDialogs(in *mtproto.TLMessagesGetDialogs) (*mtproto.Messages_Dialogs, error)
MessagesGetDialogs messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs;
func (*DialogsCore) MessagesGetOnlines ¶
func (c *DialogsCore) MessagesGetOnlines(in *mtproto.TLMessagesGetOnlines) (*mtproto.ChatOnlines, error)
MessagesGetOnlines messages.getOnlines#6e2be050 peer:InputPeer = ChatOnlines;
func (*DialogsCore) MessagesGetPeerDialogs ¶
func (c *DialogsCore) MessagesGetPeerDialogs(in *mtproto.TLMessagesGetPeerDialogs) (*mtproto.Messages_PeerDialogs, error)
MessagesGetPeerDialogs messages.getPeerDialogs#e470bcfd peers:Vector<InputDialogPeer> = messages.PeerDialogs;
func (*DialogsCore) MessagesGetPeerSettings ¶ added in v0.87.1
func (c *DialogsCore) MessagesGetPeerSettings(in *mtproto.TLMessagesGetPeerSettings) (*mtproto.Messages_PeerSettings, error)
MessagesGetPeerSettings messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings;
func (*DialogsCore) MessagesGetPinnedDialogs ¶
func (c *DialogsCore) MessagesGetPinnedDialogs(in *mtproto.TLMessagesGetPinnedDialogs) (*mtproto.Messages_PeerDialogs, error)
MessagesGetPinnedDialogs messages.getPinnedDialogs#d6b94df2 folder_id:int = messages.PeerDialogs;
func (*DialogsCore) MessagesHidePeerSettingsBar ¶
func (c *DialogsCore) MessagesHidePeerSettingsBar(in *mtproto.TLMessagesHidePeerSettingsBar) (*mtproto.Bool, error)
MessagesHidePeerSettingsBar messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool;
func (*DialogsCore) MessagesMarkDialogUnread ¶
func (c *DialogsCore) MessagesMarkDialogUnread(in *mtproto.TLMessagesMarkDialogUnread) (*mtproto.Bool, error)
MessagesMarkDialogUnread messages.markDialogUnread#c286d98f flags:# unread:flags.0?true peer:InputDialogPeer = Bool;
func (*DialogsCore) MessagesReorderPinnedDialogs ¶
func (c *DialogsCore) MessagesReorderPinnedDialogs(in *mtproto.TLMessagesReorderPinnedDialogs) (*mtproto.Bool, error)
MessagesReorderPinnedDialogs messages.reorderPinnedDialogs#3b1adf37 flags:# force:flags.0?true folder_id:int order:Vector<InputDialogPeer> = Bool;
func (*DialogsCore) MessagesSendScreenshotNotification ¶
func (c *DialogsCore) MessagesSendScreenshotNotification(in *mtproto.TLMessagesSendScreenshotNotification) (*mtproto.Updates, error)
MessagesSendScreenshotNotification messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates;
func (*DialogsCore) MessagesSetHistoryTTL ¶
func (c *DialogsCore) MessagesSetHistoryTTL(in *mtproto.TLMessagesSetHistoryTTL) (*mtproto.Updates, error)
MessagesSetHistoryTTL messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates;
func (*DialogsCore) MessagesSetTyping ¶
func (c *DialogsCore) MessagesSetTyping(in *mtproto.TLMessagesSetTyping) (*mtproto.Bool, error)
MessagesSetTyping messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool;
func (*DialogsCore) MessagesToggleDialogPin ¶
func (c *DialogsCore) MessagesToggleDialogPin(in *mtproto.TLMessagesToggleDialogPin) (*mtproto.Bool, error)
MessagesToggleDialogPin messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;
Source Files ¶
- core.go
- messages.getDialogUnreadMarks_handler.go
- messages.getDialogs_handler.go
- messages.getOnlines_handler.go
- messages.getPeerDialogs_handler.go
- messages.getPeerSettings_handler.go
- messages.getPinnedDialogs_handler.go
- messages.hidePeerSettingsBar_handler.go
- messages.markDialogUnread_handler.go
- messages.reorderPinnedDialogs_handler.go
- messages.sendScreenshotNotification_handler.go
- messages.setHistoryTTL_handler.go
- messages.setTyping_handler.go
- messages.toggleDialogPin_handler.go