core

package
v0.86.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StickersCore

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

func New

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

func (*StickersCore) MessagesClearRecentStickers

func (c *StickersCore) MessagesClearRecentStickers(in *mtproto.TLMessagesClearRecentStickers) (*mtproto.Bool, error)

MessagesClearRecentStickers messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool;

func (*StickersCore) MessagesFaveSticker

func (c *StickersCore) MessagesFaveSticker(in *mtproto.TLMessagesFaveSticker) (*mtproto.Bool, error)

MessagesFaveSticker messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;

func (*StickersCore) MessagesGetAllStickers

MessagesGetAllStickers messages.getAllStickers#b8a0a1a8 hash:long = messages.AllStickers;

func (*StickersCore) MessagesGetArchivedStickers

MessagesGetArchivedStickers messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers;

func (*StickersCore) MessagesGetAttachedStickers

MessagesGetAttachedStickers messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector<StickerSetCovered>;

func (*StickersCore) MessagesGetFavedStickers

MessagesGetFavedStickers messages.getFavedStickers#4f1aaa9 hash:long = messages.FavedStickers;

func (*StickersCore) MessagesGetFeaturedStickers

MessagesGetFeaturedStickers messages.getFeaturedStickers#64780b14 hash:long = messages.FeaturedStickers;

func (*StickersCore) MessagesGetMaskStickers

MessagesGetMaskStickers messages.getMaskStickers#640f82b8 hash:long = messages.AllStickers;

func (*StickersCore) MessagesGetOldFeaturedStickers

MessagesGetOldFeaturedStickers messages.getOldFeaturedStickers#7ed094a1 offset:int limit:int hash:long = messages.FeaturedStickers;

func (*StickersCore) MessagesGetRecentStickers

MessagesGetRecentStickers messages.getRecentStickers#9da9403b flags:# attached:flags.0?true hash:long = messages.RecentStickers;

func (*StickersCore) MessagesGetStickerSet

MessagesGetStickerSet messages.getStickerSet#c8a0ec74 stickerset:InputStickerSet hash:int = messages.StickerSet;

func (*StickersCore) MessagesGetStickers

func (c *StickersCore) MessagesGetStickers(in *mtproto.TLMessagesGetStickers) (*mtproto.Messages_Stickers, error)

MessagesGetStickers messages.getStickers#d5a5d3a1 emoticon:string hash:long = messages.Stickers;

func (*StickersCore) MessagesInstallStickerSet

MessagesInstallStickerSet messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult;

func (*StickersCore) MessagesReadFeaturedStickers

func (c *StickersCore) MessagesReadFeaturedStickers(in *mtproto.TLMessagesReadFeaturedStickers) (*mtproto.Bool, error)

MessagesReadFeaturedStickers messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool;

func (*StickersCore) MessagesReorderStickerSets

func (c *StickersCore) MessagesReorderStickerSets(in *mtproto.TLMessagesReorderStickerSets) (*mtproto.Bool, error)

MessagesReorderStickerSets messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector<long> = Bool;

func (*StickersCore) MessagesSaveRecentSticker

func (c *StickersCore) MessagesSaveRecentSticker(in *mtproto.TLMessagesSaveRecentSticker) (*mtproto.Bool, error)

MessagesSaveRecentSticker messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool;

func (*StickersCore) MessagesSearchStickerSets

MessagesSearchStickerSets messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;

func (*StickersCore) MessagesToggleStickerSets

func (c *StickersCore) MessagesToggleStickerSets(in *mtproto.TLMessagesToggleStickerSets) (*mtproto.Bool, error)

MessagesToggleStickerSets messages.toggleStickerSets#b5052fea flags:# uninstall:flags.0?true archive:flags.1?true unarchive:flags.2?true stickersets:Vector<InputStickerSet> = Bool;

func (*StickersCore) MessagesUninstallStickerSet

func (c *StickersCore) MessagesUninstallStickerSet(in *mtproto.TLMessagesUninstallStickerSet) (*mtproto.Bool, error)

MessagesUninstallStickerSet messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;

func (*StickersCore) StickersAddStickerToSet

func (c *StickersCore) StickersAddStickerToSet(in *mtproto.TLStickersAddStickerToSet) (*mtproto.Messages_StickerSet, error)

StickersAddStickerToSet stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;

func (*StickersCore) StickersChangeStickerPosition

func (c *StickersCore) StickersChangeStickerPosition(in *mtproto.TLStickersChangeStickerPosition) (*mtproto.Messages_StickerSet, error)

StickersChangeStickerPosition stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;

func (*StickersCore) StickersCheckShortName

func (c *StickersCore) StickersCheckShortName(in *mtproto.TLStickersCheckShortName) (*mtproto.Bool, error)

StickersCheckShortName stickers.checkShortName#284b3639 short_name:string = Bool;

func (*StickersCore) StickersCreateStickerSet

func (c *StickersCore) StickersCreateStickerSet(in *mtproto.TLStickersCreateStickerSet) (*mtproto.Messages_StickerSet, error)

StickersCreateStickerSet stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;

func (*StickersCore) StickersRemoveStickerFromSet

func (c *StickersCore) StickersRemoveStickerFromSet(in *mtproto.TLStickersRemoveStickerFromSet) (*mtproto.Messages_StickerSet, error)

StickersRemoveStickerFromSet stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;

func (*StickersCore) StickersSetStickerSetThumb

func (c *StickersCore) StickersSetStickerSetThumb(in *mtproto.TLStickersSetStickerSetThumb) (*mtproto.Messages_StickerSet, error)

StickersSetStickerSetThumb stickers.setStickerSetThumb#9a364e30 stickerset:InputStickerSet thumb:InputDocument = messages.StickerSet;

func (*StickersCore) StickersSuggestShortName

StickersSuggestShortName stickers.suggestShortName#4dafc503 title:string = stickers.SuggestedShortName;

Jump to

Keyboard shortcuts

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