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: 4 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) ChannelsToggleJoinRequest added in v0.87.3

func (s *Service) ChannelsToggleJoinRequest(ctx context.Context, request *mtproto.TLChannelsToggleJoinRequest) (*mtproto.Updates, error)

ChannelsToggleJoinRequest channels.toggleJoinRequest#4c2985b6 channel:InputChannel enabled:Bool = Updates;

func (*Service) ChannelsToggleJoinToSend added in v0.87.3

func (s *Service) ChannelsToggleJoinToSend(ctx context.Context, request *mtproto.TLChannelsToggleJoinToSend) (*mtproto.Updates, error)

ChannelsToggleJoinToSend channels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates;

func (*Service) MessagesCheckChatInvite

func (s *Service) MessagesCheckChatInvite(ctx context.Context, request *mtproto.TLMessagesCheckChatInvite) (*mtproto.ChatInvite, error)

MessagesCheckChatInvite messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;

func (*Service) MessagesDeleteExportedChatInvite

func (s *Service) MessagesDeleteExportedChatInvite(ctx context.Context, request *mtproto.TLMessagesDeleteExportedChatInvite) (*mtproto.Bool, error)

MessagesDeleteExportedChatInvite messages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool;

func (*Service) MessagesDeleteRevokedExportedChatInvites

func (s *Service) MessagesDeleteRevokedExportedChatInvites(ctx context.Context, request *mtproto.TLMessagesDeleteRevokedExportedChatInvites) (*mtproto.Bool, error)

MessagesDeleteRevokedExportedChatInvites messages.deleteRevokedExportedChatInvites#56987bd5 peer:InputPeer admin_id:InputUser = Bool;

func (*Service) MessagesEditExportedChatInvite

func (s *Service) MessagesEditExportedChatInvite(ctx context.Context, request *mtproto.TLMessagesEditExportedChatInvite) (*mtproto.Messages_ExportedChatInvite, error)

MessagesEditExportedChatInvite messages.editExportedChatInvite#bdca2f75 flags:# revoked:flags.2?true peer:InputPeer link:string expire_date:flags.0?int usage_limit:flags.1?int request_needed:flags.3?Bool title:flags.4?string = messages.ExportedChatInvite;

func (*Service) MessagesExportChatInvite

func (s *Service) MessagesExportChatInvite(ctx context.Context, request *mtproto.TLMessagesExportChatInvite) (*mtproto.ExportedChatInvite, error)

MessagesExportChatInvite messages.exportChatInvite#a02ce5d5 flags:# legacy_revoke_permanent:flags.2?true request_needed:flags.3?true peer:InputPeer expire_date:flags.0?int usage_limit:flags.1?int title:flags.4?string = ExportedChatInvite;

func (*Service) MessagesGetAdminsWithInvites

func (s *Service) MessagesGetAdminsWithInvites(ctx context.Context, request *mtproto.TLMessagesGetAdminsWithInvites) (*mtproto.Messages_ChatAdminsWithInvites, error)

MessagesGetAdminsWithInvites messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages.ChatAdminsWithInvites;

func (*Service) MessagesGetChatInviteImporters

func (s *Service) MessagesGetChatInviteImporters(ctx context.Context, request *mtproto.TLMessagesGetChatInviteImporters) (*mtproto.Messages_ChatInviteImporters, error)

MessagesGetChatInviteImporters messages.getChatInviteImporters#df04dd4e flags:# requested:flags.0?true peer:InputPeer link:flags.1?string q:flags.2?string offset_date:int offset_user:InputUser limit:int = messages.ChatInviteImporters;

func (*Service) MessagesGetExportedChatInvite

func (s *Service) MessagesGetExportedChatInvite(ctx context.Context, request *mtproto.TLMessagesGetExportedChatInvite) (*mtproto.Messages_ExportedChatInvite, error)

MessagesGetExportedChatInvite messages.getExportedChatInvite#73746f5c peer:InputPeer link:string = messages.ExportedChatInvite;

func (*Service) MessagesGetExportedChatInvites

func (s *Service) MessagesGetExportedChatInvites(ctx context.Context, request *mtproto.TLMessagesGetExportedChatInvites) (*mtproto.Messages_ExportedChatInvites, error)

MessagesGetExportedChatInvites messages.getExportedChatInvites#a2b5a3f6 flags:# revoked:flags.3?true peer:InputPeer admin_id:InputUser offset_date:flags.2?int offset_link:flags.2?string limit:int = messages.ExportedChatInvites;

func (*Service) MessagesHideAllChatJoinRequests

func (s *Service) MessagesHideAllChatJoinRequests(ctx context.Context, request *mtproto.TLMessagesHideAllChatJoinRequests) (*mtproto.Updates, error)

MessagesHideAllChatJoinRequests messages.hideAllChatJoinRequests#e085f4ea flags:# approved:flags.0?true peer:InputPeer link:flags.1?string = Updates;

func (*Service) MessagesHideChatJoinRequest

func (s *Service) MessagesHideChatJoinRequest(ctx context.Context, request *mtproto.TLMessagesHideChatJoinRequest) (*mtproto.Updates, error)

MessagesHideChatJoinRequest messages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPeer user_id:InputUser = Updates;

func (*Service) MessagesImportChatInvite

func (s *Service) MessagesImportChatInvite(ctx context.Context, request *mtproto.TLMessagesImportChatInvite) (*mtproto.Updates, error)

MessagesImportChatInvite messages.importChatInvite#6c50051c hash:string = Updates;

Jump to

Keyboard shortcuts

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