service

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(ctx *svc.ServiceContext) *Service

func (*Service) InboxDeleteChatHistoryToInbox

func (s *Service) InboxDeleteChatHistoryToInbox(ctx context.Context, request *inbox.TLInboxDeleteChatHistoryToInbox) (*mtproto.Void, error)

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

func (*Service) InboxDeleteMessagesToInbox

func (s *Service) InboxDeleteMessagesToInbox(ctx context.Context, request *inbox.TLInboxDeleteMessagesToInbox) (*mtproto.Void, error)

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

func (*Service) InboxDeleteUserHistoryToInbox

func (s *Service) InboxDeleteUserHistoryToInbox(ctx context.Context, request *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 (*Service) InboxEditChatMessageToInbox

func (s *Service) InboxEditChatMessageToInbox(ctx context.Context, request *inbox.TLInboxEditChatMessageToInbox) (*mtproto.Void, error)

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

func (*Service) InboxEditUserMessageToInbox

func (s *Service) InboxEditUserMessageToInbox(ctx context.Context, request *inbox.TLInboxEditUserMessageToInbox) (*mtproto.Void, error)

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

func (*Service) InboxReadChatMediaUnreadToInbox

func (s *Service) InboxReadChatMediaUnreadToInbox(ctx context.Context, request *inbox.TLInboxReadChatMediaUnreadToInbox) (*mtproto.Void, error)

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

func (*Service) InboxReadUserMediaUnreadToInbox

func (s *Service) InboxReadUserMediaUnreadToInbox(ctx context.Context, request *inbox.TLInboxReadUserMediaUnreadToInbox) (*mtproto.Void, error)

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

func (*Service) InboxSendChatMessageToInbox

func (s *Service) InboxSendChatMessageToInbox(ctx context.Context, request *inbox.TLInboxSendChatMessageToInbox) (*mtproto.Void, error)

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

func (*Service) InboxSendChatMultiMessageToInbox

func (s *Service) InboxSendChatMultiMessageToInbox(ctx context.Context, request *inbox.TLInboxSendChatMultiMessageToInbox) (*mtproto.Void, error)

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

func (*Service) InboxSendUserMessageToInbox

func (s *Service) InboxSendUserMessageToInbox(ctx context.Context, request *inbox.TLInboxSendUserMessageToInbox) (*mtproto.Void, error)

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

func (*Service) InboxSendUserMultiMessageToInbox

func (s *Service) InboxSendUserMultiMessageToInbox(ctx context.Context, request *inbox.TLInboxSendUserMultiMessageToInbox) (*mtproto.Void, error)

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

func (*Service) InboxUnpinAllMessages

func (s *Service) InboxUnpinAllMessages(ctx context.Context, request *inbox.TLInboxUnpinAllMessages) (*mtproto.Void, error)

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

func (*Service) InboxUpdateHistoryReaded

func (s *Service) InboxUpdateHistoryReaded(ctx context.Context, request *inbox.TLInboxUpdateHistoryReaded) (*mtproto.Void, error)

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

func (*Service) InboxUpdatePinnedMessage

func (s *Service) InboxUpdatePinnedMessage(ctx context.Context, request *inbox.TLInboxUpdatePinnedMessage) (*mtproto.Void, error)

InboxUpdatePinnedMessage inbox.updatePinnedMessage flags:# user_id:long unpin:flags.1?true peer_type:int peer_id:long id:int dialog_message_id:long = Void;

Jump to

Keyboard shortcuts

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