core

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InboxCore

type InboxCore struct {
	logx.Logger
	MD *metadata.RpcMetadata
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, svcCtx *svc.ServiceContext) *InboxCore

func (*InboxCore) InboxDeleteChatHistoryToInbox

func (c *InboxCore) InboxDeleteChatHistoryToInbox(in *inbox.TLInboxDeleteChatHistoryToInbox) (*mtproto.Void, error)

InboxDeleteChatHistoryToInbox inbox.deleteChatHistoryToInbox from_id:long peer_chat_id:long max_id:int = Void;

func (*InboxCore) InboxDeleteMessagesToInbox

func (c *InboxCore) InboxDeleteMessagesToInbox(in *inbox.TLInboxDeleteMessagesToInbox) (*mtproto.Void, error)

InboxDeleteMessagesToInbox inbox.deleteMessagesToInbox from_id:long id:Vector<int> = Void;

func (*InboxCore) InboxDeleteUserHistoryToInbox

func (c *InboxCore) InboxDeleteUserHistoryToInbox(in *inbox.TLInboxDeleteUserHistoryToInbox) (*mtproto.Void, error)

InboxDeleteUserHistoryToInbox inbox.deleteUserHistoryToInbox flags:# from_id:long peer_user_id:long just_clear:flags.1?true max_id:int = Void;

func (*InboxCore) InboxEditChatMessageToInbox added in v0.86.0

func (c *InboxCore) InboxEditChatMessageToInbox(in *inbox.TLInboxEditChatMessageToInbox) (*mtproto.Void, error)

InboxEditChatMessageToInbox inbox.editChatMessageToInbox from_id:long peer_chat_id:long message:Message = Void;

func (*InboxCore) InboxEditUserMessageToInbox

func (c *InboxCore) InboxEditUserMessageToInbox(in *inbox.TLInboxEditUserMessageToInbox) (*mtproto.Void, error)

InboxEditUserMessageToInbox inbox.editUserMessageToInbox from_id:long peer_user_id:long message:Message = Void;

func (*InboxCore) InboxReadChatMediaUnreadToInbox

func (c *InboxCore) InboxReadChatMediaUnreadToInbox(in *inbox.TLInboxReadChatMediaUnreadToInbox) (*mtproto.Void, error)

InboxReadChatMediaUnreadToInbox inbox.readChatMediaUnreadToInbox from_id:long peer_chat_id:long id:Vector<int> = Void;

func (*InboxCore) InboxReadUserMediaUnreadToInbox

func (c *InboxCore) InboxReadUserMediaUnreadToInbox(in *inbox.TLInboxReadUserMediaUnreadToInbox) (*mtproto.Void, error)

InboxReadUserMediaUnreadToInbox inbox.readUserMediaUnreadToInbox from_id:long id:Vector<int> = Void;

func (*InboxCore) InboxSendChatMessageToInbox

func (c *InboxCore) InboxSendChatMessageToInbox(in *inbox.TLInboxSendChatMessageToInbox) (*mtproto.Void, error)

InboxSendChatMessageToInbox inbox.sendChatMessageToInbox from_id:long peer_chat_id:long message:InboxMessageData = Void;

func (*InboxCore) InboxSendChatMultiMessageToInbox

func (c *InboxCore) InboxSendChatMultiMessageToInbox(in *inbox.TLInboxSendChatMultiMessageToInbox) (*mtproto.Void, error)

InboxSendChatMultiMessageToInbox inbox.sendChatMultiMessageToInbox from_id:long peer_chat_id:long message:Vector<InboxMessageData> = Void;

func (*InboxCore) InboxSendUserMessageToInbox

func (c *InboxCore) InboxSendUserMessageToInbox(in *inbox.TLInboxSendUserMessageToInbox) (*mtproto.Void, error)

InboxSendUserMessageToInbox inbox.sendUserMessageToInbox from_id:long peer_user_id:long message:InboxMessageData = Void;

func (*InboxCore) InboxSendUserMultiMessageToInbox

func (c *InboxCore) InboxSendUserMultiMessageToInbox(in *inbox.TLInboxSendUserMultiMessageToInbox) (*mtproto.Void, error)

InboxSendUserMultiMessageToInbox inbox.sendUserMultiMessageToInbox from_id:long peer_user_id:long message:Vector<InboxMessageData> = Void;

func (*InboxCore) InboxUnpinAllMessages

func (c *InboxCore) InboxUnpinAllMessages(in *inbox.TLInboxUnpinAllMessages) (*mtproto.Void, error)

InboxUnpinAllMessages inbox.unpinAllMessages user_id:long auth_key_id:long peer_type:int peer_id:long = Void;

func (*InboxCore) InboxUpdateHistoryReaded

func (c *InboxCore) InboxUpdateHistoryReaded(in *inbox.TLInboxUpdateHistoryReaded) (*mtproto.Void, error)

InboxUpdateHistoryReaded inbox.updateHistoryReaded from_id:long peer_type:int peer_id:long max_id:int = Void;

func (*InboxCore) InboxUpdatePinnedMessage

func (c *InboxCore) InboxUpdatePinnedMessage(in *inbox.TLInboxUpdatePinnedMessage) (*mtproto.Void, error)

InboxUpdatePinnedMessage inbox.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 = Void;

Jump to

Keyboard shortcuts

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