Documentation ¶
Index ¶
- type Service
- func (s *Service) ChannelsGetSponsoredMessages(ctx context.Context, request *mtproto.TLChannelsGetSponsoredMessages) (*mtproto.Messages_SponsoredMessages, error)
- func (s *Service) ChannelsViewSponsoredMessage(ctx context.Context, request *mtproto.TLChannelsViewSponsoredMessage) (*mtproto.Bool, error)
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) ChannelsGetSponsoredMessages ¶
func (s *Service) ChannelsGetSponsoredMessages(ctx context.Context, request *mtproto.TLChannelsGetSponsoredMessages) (*mtproto.Messages_SponsoredMessages, error)
ChannelsGetSponsoredMessages channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages;
func (*Service) ChannelsViewSponsoredMessage ¶
func (s *Service) ChannelsViewSponsoredMessage(ctx context.Context, request *mtproto.TLChannelsViewSponsoredMessage) (*mtproto.Bool, error)
ChannelsViewSponsoredMessage channels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool;
Click to show internal directories.
Click to hide internal directories.