core

package
v0.85.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatsCore

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

func New

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

func (*ChatsCore) ChannelsConvertToGigagroup

func (c *ChatsCore) ChannelsConvertToGigagroup(in *mtproto.TLChannelsConvertToGigagroup) (*mtproto.Updates, error)

ChannelsConvertToGigagroup channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;

func (*ChatsCore) MessagesAddChatUser

func (c *ChatsCore) MessagesAddChatUser(in *mtproto.TLMessagesAddChatUser) (*mtproto.Updates, error)

MessagesAddChatUser messages.addChatUser#f24753e3 chat_id:long user_id:InputUser fwd_limit:int = Updates;

func (*ChatsCore) MessagesCheckChatInvite

func (c *ChatsCore) MessagesCheckChatInvite(in *mtproto.TLMessagesCheckChatInvite) (*mtproto.ChatInvite, error)

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

func (*ChatsCore) MessagesCreateChat

func (c *ChatsCore) MessagesCreateChat(in *mtproto.TLMessagesCreateChat) (*mtproto.Updates, error)

MessagesCreateChat messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;

func (*ChatsCore) MessagesDeleteChat

func (c *ChatsCore) MessagesDeleteChat(in *mtproto.TLMessagesDeleteChat) (*mtproto.Bool, error)

MessagesDeleteChat messages.deleteChat#5bd0ee50 chat_id:long = Bool;

func (*ChatsCore) MessagesDeleteChatUser

func (c *ChatsCore) MessagesDeleteChatUser(in *mtproto.TLMessagesDeleteChatUser) (*mtproto.Updates, error)

MessagesDeleteChatUser messages.deleteChatUser#a2185cab flags:# revoke_history:flags.0?true chat_id:long user_id:InputUser = Updates;

func (*ChatsCore) MessagesDeleteExportedChatInvite

func (c *ChatsCore) MessagesDeleteExportedChatInvite(in *mtproto.TLMessagesDeleteExportedChatInvite) (*mtproto.Bool, error)

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

func (*ChatsCore) MessagesDeleteRevokedExportedChatInvites

func (c *ChatsCore) MessagesDeleteRevokedExportedChatInvites(in *mtproto.TLMessagesDeleteRevokedExportedChatInvites) (*mtproto.Bool, error)

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

func (*ChatsCore) MessagesEditChatAbout

func (c *ChatsCore) MessagesEditChatAbout(in *mtproto.TLMessagesEditChatAbout) (*mtproto.Bool, error)

MessagesEditChatAbout messages.editChatAbout#def60797 peer:InputPeer about:string = Bool;

func (*ChatsCore) MessagesEditChatAdmin

func (c *ChatsCore) MessagesEditChatAdmin(in *mtproto.TLMessagesEditChatAdmin) (*mtproto.Bool, error)

MessagesEditChatAdmin messages.editChatAdmin#a85bd1c2 chat_id:long user_id:InputUser is_admin:Bool = Bool;

func (*ChatsCore) MessagesEditChatDefaultBannedRights

func (c *ChatsCore) MessagesEditChatDefaultBannedRights(in *mtproto.TLMessagesEditChatDefaultBannedRights) (*mtproto.Updates, error)

MessagesEditChatDefaultBannedRights messages.editChatDefaultBannedRights#a5866b41 peer:InputPeer banned_rights:ChatBannedRights = Updates;

func (*ChatsCore) MessagesEditChatPhoto

func (c *ChatsCore) MessagesEditChatPhoto(in *mtproto.TLMessagesEditChatPhoto) (*mtproto.Updates, error)

MessagesEditChatPhoto messages.editChatPhoto#35ddd674 chat_id:long photo:InputChatPhoto = Updates;

func (*ChatsCore) MessagesEditChatTitle

func (c *ChatsCore) MessagesEditChatTitle(in *mtproto.TLMessagesEditChatTitle) (*mtproto.Updates, error)

MessagesEditChatTitle messages.editChatTitle#73783ffd chat_id:long title:string = Updates;

func (*ChatsCore) MessagesEditExportedChatInvite

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 (*ChatsCore) MessagesExportChatInvite

func (c *ChatsCore) MessagesExportChatInvite(in *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 (*ChatsCore) MessagesGetAdminsWithInvites

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

func (*ChatsCore) MessagesGetAllChats

func (c *ChatsCore) MessagesGetAllChats(in *mtproto.TLMessagesGetAllChats) (*mtproto.Messages_Chats, error)

MessagesGetAllChats messages.getAllChats#875f74be except_ids:Vector<long> = messages.Chats;

func (*ChatsCore) MessagesGetChatInviteImporters

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 (*ChatsCore) MessagesGetChats

func (c *ChatsCore) MessagesGetChats(in *mtproto.TLMessagesGetChats) (*mtproto.Messages_Chats, error)

MessagesGetChats messages.getChats#49e9528f id:Vector<long> = messages.Chats;

func (*ChatsCore) MessagesGetCommonChats

func (c *ChatsCore) MessagesGetCommonChats(in *mtproto.TLMessagesGetCommonChats) (*mtproto.Messages_Chats, error)

MessagesGetCommonChats messages.getCommonChats#e40ca104 user_id:InputUser max_id:long limit:int = messages.Chats;

func (*ChatsCore) MessagesGetExportedChatInvite

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

func (*ChatsCore) MessagesGetExportedChatInvites

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 (*ChatsCore) MessagesGetFullChat

func (c *ChatsCore) MessagesGetFullChat(in *mtproto.TLMessagesGetFullChat) (*mtproto.Messages_ChatFull, error)

MessagesGetFullChat messages.getFullChat#aeb00b34 chat_id:long = messages.ChatFull;

func (*ChatsCore) MessagesGetMessageReadParticipants

func (c *ChatsCore) MessagesGetMessageReadParticipants(in *mtproto.TLMessagesGetMessageReadParticipants) (*mtproto.Vector_Long, error)

MessagesGetMessageReadParticipants messages.getMessageReadParticipants#2c6f97b7 peer:InputPeer msg_id:int = Vector<long>;

func (*ChatsCore) MessagesHideAllChatJoinRequests

func (c *ChatsCore) MessagesHideAllChatJoinRequests(in *mtproto.TLMessagesHideAllChatJoinRequests) (*mtproto.Updates, error)

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

func (*ChatsCore) MessagesHideChatJoinRequest

func (c *ChatsCore) MessagesHideChatJoinRequest(in *mtproto.TLMessagesHideChatJoinRequest) (*mtproto.Updates, error)

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

func (*ChatsCore) MessagesImportChatInvite

func (c *ChatsCore) MessagesImportChatInvite(in *mtproto.TLMessagesImportChatInvite) (*mtproto.Updates, error)

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

func (*ChatsCore) MessagesMigrateChat

func (c *ChatsCore) MessagesMigrateChat(in *mtproto.TLMessagesMigrateChat) (*mtproto.Updates, error)

MessagesMigrateChat messages.migrateChat#a2875319 chat_id:long = Updates;

Jump to

Keyboard shortcuts

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