Documentation ¶
Index ¶
- type ChannelsServiceImpl
- func (s *ChannelsServiceImpl) ChannelsCheckUsername(ctx context.Context, request *mtproto.TLChannelsCheckUsername) (*mtproto.Bool, error)
- func (s *ChannelsServiceImpl) ChannelsCreateChannel(ctx context.Context, request *mtproto.TLChannelsCreateChannel) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsDeleteChannel(ctx context.Context, request *mtproto.TLChannelsDeleteChannel) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsDeleteHistory(ctx context.Context, request *mtproto.TLChannelsDeleteHistory) (*mtproto.Bool, error)
- func (s *ChannelsServiceImpl) ChannelsDeleteMessages(ctx context.Context, request *mtproto.TLChannelsDeleteMessages) (*mtproto.Messages_AffectedMessages, error)
- func (s *ChannelsServiceImpl) ChannelsDeleteUserHistory(ctx context.Context, request *mtproto.TLChannelsDeleteUserHistory) (*mtproto.Messages_AffectedHistory, error)
- func (s *ChannelsServiceImpl) ChannelsEditAbout(ctx context.Context, request *mtproto.TLChannelsEditAbout) (*mtproto.Bool, error)
- func (s *ChannelsServiceImpl) ChannelsEditAdmin(ctx context.Context, request *mtproto.TLChannelsEditAdmin) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsEditBanned(ctx context.Context, request *mtproto.TLChannelsEditBanned) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsEditPhoto(ctx context.Context, request *mtproto.TLChannelsEditPhoto) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsEditTitle(ctx context.Context, request *mtproto.TLChannelsEditTitle) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsExportInvite(ctx context.Context, request *mtproto.TLChannelsExportInvite) (*mtproto.ExportedChatInvite, error)
- func (s *ChannelsServiceImpl) ChannelsExportMessageLink(ctx context.Context, request *mtproto.TLChannelsExportMessageLink) (*mtproto.ExportedMessageLink, error)
- func (s *ChannelsServiceImpl) ChannelsExportMessageLinkLayer74(ctx context.Context, request *mtproto.TLChannelsExportMessageLinkLayer74) (*mtproto.ExportedMessageLink, error)
- func (s *ChannelsServiceImpl) ChannelsGetAdminLog(ctx context.Context, request *mtproto.TLChannelsGetAdminLog) (*mtproto.Channels_AdminLogResults, error)
- func (s *ChannelsServiceImpl) ChannelsGetAdminedPublicChannels(ctx context.Context, request *mtproto.TLChannelsGetAdminedPublicChannels) (*mtproto.Messages_Chats, error)
- func (s *ChannelsServiceImpl) ChannelsGetChannels(ctx context.Context, request *mtproto.TLChannelsGetChannels) (*mtproto.Messages_Chats, error)
- func (s *ChannelsServiceImpl) ChannelsGetFullChannel(ctx context.Context, request *mtproto.TLChannelsGetFullChannel) (*mtproto.Messages_ChatFull, error)
- func (s *ChannelsServiceImpl) ChannelsGetMessages(ctx context.Context, request *mtproto.TLChannelsGetMessages) (*mtproto.Messages_Messages, error)
- func (s *ChannelsServiceImpl) ChannelsGetParticipant(ctx context.Context, request *mtproto.TLChannelsGetParticipant) (*mtproto.Channels_ChannelParticipant, error)
- func (s *ChannelsServiceImpl) ChannelsGetParticipants(ctx context.Context, request *mtproto.TLChannelsGetParticipants) (*mtproto.Channels_ChannelParticipants, error)
- func (s *ChannelsServiceImpl) ChannelsInviteToChannel(ctx context.Context, request *mtproto.TLChannelsInviteToChannel) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsJoinChannel(ctx context.Context, request *mtproto.TLChannelsJoinChannel) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsLeaveChannel(ctx context.Context, request *mtproto.TLChannelsLeaveChannel) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsReadHistory(ctx context.Context, request *mtproto.TLChannelsReadHistory) (*mtproto.Bool, error)
- func (s *ChannelsServiceImpl) ChannelsReadMessageContents(ctx context.Context, request *mtproto.TLChannelsReadMessageContents) (*mtproto.Bool, error)
- func (s *ChannelsServiceImpl) ChannelsReportSpam(ctx context.Context, request *mtproto.TLChannelsReportSpam) (*mtproto.Bool, error)
- func (s *ChannelsServiceImpl) ChannelsSetStickers(ctx context.Context, request *mtproto.TLChannelsSetStickers) (*mtproto.Bool, error)
- func (s *ChannelsServiceImpl) ChannelsToggleInvites(ctx context.Context, request *mtproto.TLChannelsToggleInvites) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsTogglePreHistoryHidden(ctx context.Context, request *mtproto.TLChannelsTogglePreHistoryHidden) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsToggleSignatures(ctx context.Context, request *mtproto.TLChannelsToggleSignatures) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsUpdatePinnedMessage(ctx context.Context, request *mtproto.TLChannelsUpdatePinnedMessage) (*mtproto.Updates, error)
- func (s *ChannelsServiceImpl) ChannelsUpdateUsername(ctx context.Context, request *mtproto.TLChannelsUpdateUsername) (*mtproto.Bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelsServiceImpl ¶
type ChannelsServiceImpl struct { }
func (*ChannelsServiceImpl) ChannelsCheckUsername ¶
func (s *ChannelsServiceImpl) ChannelsCheckUsername(ctx context.Context, request *mtproto.TLChannelsCheckUsername) (*mtproto.Bool, error)
channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;
func (*ChannelsServiceImpl) ChannelsCreateChannel ¶
func (s *ChannelsServiceImpl) ChannelsCreateChannel(ctx context.Context, request *mtproto.TLChannelsCreateChannel) (*mtproto.Updates, error)
channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates;
func (*ChannelsServiceImpl) ChannelsDeleteChannel ¶
func (s *ChannelsServiceImpl) ChannelsDeleteChannel(ctx context.Context, request *mtproto.TLChannelsDeleteChannel) (*mtproto.Updates, error)
channels.deleteChannel#c0111fe3 channel:InputChannel = Updates;
func (*ChannelsServiceImpl) ChannelsDeleteHistory ¶
func (s *ChannelsServiceImpl) ChannelsDeleteHistory(ctx context.Context, request *mtproto.TLChannelsDeleteHistory) (*mtproto.Bool, error)
channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool;
func (*ChannelsServiceImpl) ChannelsDeleteMessages ¶
func (s *ChannelsServiceImpl) ChannelsDeleteMessages(ctx context.Context, request *mtproto.TLChannelsDeleteMessages) (*mtproto.Messages_AffectedMessages, error)
channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
func (*ChannelsServiceImpl) ChannelsDeleteUserHistory ¶
func (s *ChannelsServiceImpl) ChannelsDeleteUserHistory(ctx context.Context, request *mtproto.TLChannelsDeleteUserHistory) (*mtproto.Messages_AffectedHistory, error)
channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;
func (*ChannelsServiceImpl) ChannelsEditAbout ¶
func (s *ChannelsServiceImpl) ChannelsEditAbout(ctx context.Context, request *mtproto.TLChannelsEditAbout) (*mtproto.Bool, error)
channels.editAbout#13e27f1e channel:InputChannel about:string = Bool;
func (*ChannelsServiceImpl) ChannelsEditAdmin ¶
func (s *ChannelsServiceImpl) ChannelsEditAdmin(ctx context.Context, request *mtproto.TLChannelsEditAdmin) (*mtproto.Updates, error)
channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates;
func (*ChannelsServiceImpl) ChannelsEditBanned ¶
func (s *ChannelsServiceImpl) ChannelsEditBanned(ctx context.Context, request *mtproto.TLChannelsEditBanned) (*mtproto.Updates, error)
channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates;
func (*ChannelsServiceImpl) ChannelsEditPhoto ¶
func (s *ChannelsServiceImpl) ChannelsEditPhoto(ctx context.Context, request *mtproto.TLChannelsEditPhoto) (*mtproto.Updates, error)
channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;
func (*ChannelsServiceImpl) ChannelsEditTitle ¶
func (s *ChannelsServiceImpl) ChannelsEditTitle(ctx context.Context, request *mtproto.TLChannelsEditTitle) (*mtproto.Updates, error)
channels.editTitle#566decd0 channel:InputChannel title:string = Updates;
func (*ChannelsServiceImpl) ChannelsExportInvite ¶
func (s *ChannelsServiceImpl) ChannelsExportInvite(ctx context.Context, request *mtproto.TLChannelsExportInvite) (*mtproto.ExportedChatInvite, error)
channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;
func (*ChannelsServiceImpl) ChannelsExportMessageLink ¶
func (s *ChannelsServiceImpl) ChannelsExportMessageLink(ctx context.Context, request *mtproto.TLChannelsExportMessageLink) (*mtproto.ExportedMessageLink, error)
channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink;
func (*ChannelsServiceImpl) ChannelsExportMessageLinkLayer74 ¶
func (s *ChannelsServiceImpl) ChannelsExportMessageLinkLayer74(ctx context.Context, request *mtproto.TLChannelsExportMessageLinkLayer74) (*mtproto.ExportedMessageLink, error)
Layer74 channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink;
func (*ChannelsServiceImpl) ChannelsGetAdminLog ¶
func (s *ChannelsServiceImpl) ChannelsGetAdminLog(ctx context.Context, request *mtproto.TLChannelsGetAdminLog) (*mtproto.Channels_AdminLogResults, error)
channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;
func (*ChannelsServiceImpl) ChannelsGetAdminedPublicChannels ¶
func (s *ChannelsServiceImpl) ChannelsGetAdminedPublicChannels(ctx context.Context, request *mtproto.TLChannelsGetAdminedPublicChannels) (*mtproto.Messages_Chats, error)
channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;
func (*ChannelsServiceImpl) ChannelsGetChannels ¶
func (s *ChannelsServiceImpl) ChannelsGetChannels(ctx context.Context, request *mtproto.TLChannelsGetChannels) (*mtproto.Messages_Chats, error)
channels.getChannels#a7f6bbb id:Vector<InputChannel> = messages.Chats;
func (*ChannelsServiceImpl) ChannelsGetFullChannel ¶
func (s *ChannelsServiceImpl) ChannelsGetFullChannel(ctx context.Context, request *mtproto.TLChannelsGetFullChannel) (*mtproto.Messages_ChatFull, error)
channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;
func (*ChannelsServiceImpl) ChannelsGetMessages ¶
func (s *ChannelsServiceImpl) ChannelsGetMessages(ctx context.Context, request *mtproto.TLChannelsGetMessages) (*mtproto.Messages_Messages, error)
channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages;
func (*ChannelsServiceImpl) ChannelsGetParticipant ¶
func (s *ChannelsServiceImpl) ChannelsGetParticipant(ctx context.Context, request *mtproto.TLChannelsGetParticipant) (*mtproto.Channels_ChannelParticipant, error)
channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant;
func (*ChannelsServiceImpl) ChannelsGetParticipants ¶
func (s *ChannelsServiceImpl) ChannelsGetParticipants(ctx context.Context, request *mtproto.TLChannelsGetParticipants) (*mtproto.Channels_ChannelParticipants, error)
channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants;
func (*ChannelsServiceImpl) ChannelsInviteToChannel ¶
func (s *ChannelsServiceImpl) ChannelsInviteToChannel(ctx context.Context, request *mtproto.TLChannelsInviteToChannel) (*mtproto.Updates, error)
channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates;
func (*ChannelsServiceImpl) ChannelsJoinChannel ¶
func (s *ChannelsServiceImpl) ChannelsJoinChannel(ctx context.Context, request *mtproto.TLChannelsJoinChannel) (*mtproto.Updates, error)
channels.joinChannel#24b524c5 channel:InputChannel = Updates;
func (*ChannelsServiceImpl) ChannelsLeaveChannel ¶
func (s *ChannelsServiceImpl) ChannelsLeaveChannel(ctx context.Context, request *mtproto.TLChannelsLeaveChannel) (*mtproto.Updates, error)
channels.leaveChannel#f836aa95 channel:InputChannel = Updates;
func (*ChannelsServiceImpl) ChannelsReadHistory ¶
func (s *ChannelsServiceImpl) ChannelsReadHistory(ctx context.Context, request *mtproto.TLChannelsReadHistory) (*mtproto.Bool, error)
channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;
func (*ChannelsServiceImpl) ChannelsReadMessageContents ¶
func (s *ChannelsServiceImpl) ChannelsReadMessageContents(ctx context.Context, request *mtproto.TLChannelsReadMessageContents) (*mtproto.Bool, error)
channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int> = Bool;
func (*ChannelsServiceImpl) ChannelsReportSpam ¶
func (s *ChannelsServiceImpl) ChannelsReportSpam(ctx context.Context, request *mtproto.TLChannelsReportSpam) (*mtproto.Bool, error)
channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool;
func (*ChannelsServiceImpl) ChannelsSetStickers ¶
func (s *ChannelsServiceImpl) ChannelsSetStickers(ctx context.Context, request *mtproto.TLChannelsSetStickers) (*mtproto.Bool, error)
channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool;
func (*ChannelsServiceImpl) ChannelsToggleInvites ¶
func (s *ChannelsServiceImpl) ChannelsToggleInvites(ctx context.Context, request *mtproto.TLChannelsToggleInvites) (*mtproto.Updates, error)
channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates;
func (*ChannelsServiceImpl) ChannelsTogglePreHistoryHidden ¶
func (s *ChannelsServiceImpl) ChannelsTogglePreHistoryHidden(ctx context.Context, request *mtproto.TLChannelsTogglePreHistoryHidden) (*mtproto.Updates, error)
channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;
func (*ChannelsServiceImpl) ChannelsToggleSignatures ¶
func (s *ChannelsServiceImpl) ChannelsToggleSignatures(ctx context.Context, request *mtproto.TLChannelsToggleSignatures) (*mtproto.Updates, error)
channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates;
func (*ChannelsServiceImpl) ChannelsUpdatePinnedMessage ¶
func (s *ChannelsServiceImpl) ChannelsUpdatePinnedMessage(ctx context.Context, request *mtproto.TLChannelsUpdatePinnedMessage) (*mtproto.Updates, error)
channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates;
func (*ChannelsServiceImpl) ChannelsUpdateUsername ¶
func (s *ChannelsServiceImpl) ChannelsUpdateUsername(ctx context.Context, request *mtproto.TLChannelsUpdateUsername) (*mtproto.Bool, error)
channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
Source Files ¶
- channels.checkUsername_handler.go
- channels.createChannel_handler.go
- channels.deleteChannel_handler.go
- channels.deleteHistory_handler.go
- channels.deleteMessages_handler.go
- channels.deleteUserHistory_handler.go
- channels.editAbout_handler.go
- channels.editAdmin_handler.go
- channels.editBanned_handler.go
- channels.editPhoto_handler.go
- channels.editTitle_handler.go
- channels.exportInvite_handler.go
- channels.exportMessageLinkLayer74_handler.go
- channels.exportMessageLink_handler.go
- channels.getAdminLog_handler.go
- channels.getAdminedPublicChannels_handler.go
- channels.getChannels_handler.go
- channels.getFullChannel_handler.go
- channels.getMessages_handler.go
- channels.getParticipant_handler.go
- channels.getParticipants_handler.go
- channels.inviteToChannel_handler.go
- channels.joinChannel_handler.go
- channels.leaveChannel_handler.go
- channels.readHistory_handler.go
- channels.readMessageContents_handler.go
- channels.reportSpam_handler.go
- channels.setStickers_handler.go
- channels.toggleInvites_handler.go
- channels.togglePreHistoryHidden_handler.go
- channels.toggleSignatures_handler.go
- channels.updatePinnedMessage_handler.go
- channels.updateUsername_handler.go
- channels_service_impl.go