core

package
v0.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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

MessagesGetPeerDialogs messages.getPeerDialogs#e470bcfd peers:Vector<InputDialogPeer> = messages.PeerDialogs;

func (*DialogsCore) MessagesGetPeerSettings added in v0.87.1

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;

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL