Documentation ¶
Index ¶
- type WallpapersCore
- func (c *WallpapersCore) AccountGetMultiWallPapers(in *mtproto.TLAccountGetMultiWallPapers) (*mtproto.Vector_WallPaper, error)
- func (c *WallpapersCore) AccountGetWallPaper(in *mtproto.TLAccountGetWallPaper) (*mtproto.WallPaper, error)
- func (c *WallpapersCore) AccountGetWallPapers(in *mtproto.TLAccountGetWallPapers) (*mtproto.Account_WallPapers, error)
- func (c *WallpapersCore) AccountInstallWallPaper(in *mtproto.TLAccountInstallWallPaper) (*mtproto.Bool, error)
- func (c *WallpapersCore) AccountResetWallPapers(in *mtproto.TLAccountResetWallPapers) (*mtproto.Bool, error)
- func (c *WallpapersCore) AccountSaveWallPaper(in *mtproto.TLAccountSaveWallPaper) (*mtproto.Bool, error)
- func (c *WallpapersCore) AccountUploadWallPaper(in *mtproto.TLAccountUploadWallPaper) (*mtproto.WallPaper, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WallpapersCore ¶
type WallpapersCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *WallpapersCore
func (*WallpapersCore) AccountGetMultiWallPapers ¶
func (c *WallpapersCore) AccountGetMultiWallPapers(in *mtproto.TLAccountGetMultiWallPapers) (*mtproto.Vector_WallPaper, error)
AccountGetMultiWallPapers account.getMultiWallPapers#65ad71dc wallpapers:Vector<InputWallPaper> = Vector<WallPaper>;
func (*WallpapersCore) AccountGetWallPaper ¶
func (c *WallpapersCore) AccountGetWallPaper(in *mtproto.TLAccountGetWallPaper) (*mtproto.WallPaper, error)
AccountGetWallPaper account.getWallPaper#fc8ddbea wallpaper:InputWallPaper = WallPaper;
func (*WallpapersCore) AccountGetWallPapers ¶
func (c *WallpapersCore) AccountGetWallPapers(in *mtproto.TLAccountGetWallPapers) (*mtproto.Account_WallPapers, error)
AccountGetWallPapers account.getWallPapers#7967d36 hash:long = account.WallPapers;
func (*WallpapersCore) AccountInstallWallPaper ¶
func (c *WallpapersCore) AccountInstallWallPaper(in *mtproto.TLAccountInstallWallPaper) (*mtproto.Bool, error)
AccountInstallWallPaper account.installWallPaper#feed5769 wallpaper:InputWallPaper settings:WallPaperSettings = Bool;
func (*WallpapersCore) AccountResetWallPapers ¶
func (c *WallpapersCore) AccountResetWallPapers(in *mtproto.TLAccountResetWallPapers) (*mtproto.Bool, error)
AccountResetWallPapers account.resetWallPapers#bb3b9804 = Bool;
func (*WallpapersCore) AccountSaveWallPaper ¶
func (c *WallpapersCore) AccountSaveWallPaper(in *mtproto.TLAccountSaveWallPaper) (*mtproto.Bool, error)
AccountSaveWallPaper account.saveWallPaper#6c5a5b37 wallpaper:InputWallPaper unsave:Bool settings:WallPaperSettings = Bool;
func (*WallpapersCore) AccountUploadWallPaper ¶
func (c *WallpapersCore) AccountUploadWallPaper(in *mtproto.TLAccountUploadWallPaper) (*mtproto.WallPaper, error)
AccountUploadWallPaper account.uploadWallPaper#dd853661 file:InputFile mime_type:string settings:WallPaperSettings = WallPaper;