rpc

package
v0.0.0-...-6e21e7b Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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

channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;

func (*ChannelsServiceImpl) ChannelsDeleteUserHistory

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

channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;

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

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

channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;

func (*ChannelsServiceImpl) ChannelsGetMessages

channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages;

func (*ChannelsServiceImpl) ChannelsGetParticipant

channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant;

func (*ChannelsServiceImpl) ChannelsGetParticipants

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;

Jump to

Keyboard shortcuts

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