dialogs_client

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DialogsClient

type DialogsClient interface {
	MessagesGetDialogs(ctx context.Context, in *mtproto.TLMessagesGetDialogs) (*mtproto.Messages_Dialogs, error)
	MessagesSetTyping(ctx context.Context, in *mtproto.TLMessagesSetTyping) (*mtproto.Bool, error)
	MessagesGetPeerSettings(ctx context.Context, in *mtproto.TLMessagesGetPeerSettings) (*mtproto.Messages_PeerSettings, error)
	MessagesGetPeerDialogs(ctx context.Context, in *mtproto.TLMessagesGetPeerDialogs) (*mtproto.Messages_PeerDialogs, error)
	MessagesToggleDialogPin(ctx context.Context, in *mtproto.TLMessagesToggleDialogPin) (*mtproto.Bool, error)
	MessagesReorderPinnedDialogs(ctx context.Context, in *mtproto.TLMessagesReorderPinnedDialogs) (*mtproto.Bool, error)
	MessagesGetPinnedDialogs(ctx context.Context, in *mtproto.TLMessagesGetPinnedDialogs) (*mtproto.Messages_PeerDialogs, error)
	MessagesSendScreenshotNotification(ctx context.Context, in *mtproto.TLMessagesSendScreenshotNotification) (*mtproto.Updates, error)
	MessagesMarkDialogUnread(ctx context.Context, in *mtproto.TLMessagesMarkDialogUnread) (*mtproto.Bool, error)
	MessagesGetDialogUnreadMarks(ctx context.Context, in *mtproto.TLMessagesGetDialogUnreadMarks) (*mtproto.Vector_DialogPeer, error)
	MessagesGetOnlines(ctx context.Context, in *mtproto.TLMessagesGetOnlines) (*mtproto.ChatOnlines, error)
	MessagesHidePeerSettingsBar(ctx context.Context, in *mtproto.TLMessagesHidePeerSettingsBar) (*mtproto.Bool, error)
	MessagesSetHistoryTTL(ctx context.Context, in *mtproto.TLMessagesSetHistoryTTL) (*mtproto.Updates, error)
}

func NewDialogsClient

func NewDialogsClient(cli zrpc.Client) DialogsClient

Jump to

Keyboard shortcuts

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