core

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: 17 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) 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) 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) MessagesGetAllChats

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

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

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) MessagesGetFullChat

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

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

func (*ChatsCore) MessagesGetMessageReadParticipants2C6F97B7 added in v0.96.0

func (c *ChatsCore) MessagesGetMessageReadParticipants2C6F97B7(in *mtproto.TLMessagesGetMessageReadParticipants2C6F97B7) (*mtproto.Vector_Long, error)

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

func (*ChatsCore) MessagesGetMessageReadParticipants31C1C44F added in v0.96.0

func (c *ChatsCore) MessagesGetMessageReadParticipants31C1C44F(in *mtproto.TLMessagesGetMessageReadParticipants31C1C44F) (*mtproto.Vector_ReadParticipantDate, error)

MessagesGetMessageReadParticipants31C1C44F messages.getMessageReadParticipants#31c1c44f peer:InputPeer msg_id:int = Vector<ReadParticipantDate>;

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