Documentation ¶
Index ¶
- type ThemesCore
- func (c *ThemesCore) AccountCreateTheme(in *mtproto.TLAccountCreateTheme) (*mtproto.Theme, error)
- func (c *ThemesCore) AccountGetChatThemesD638DE89(in *mtproto.TLAccountGetChatThemesD638DE89) (*mtproto.Account_Themes, error)
- func (c *ThemesCore) AccountGetChatThemesD6D71D7B(in *mtproto.TLAccountGetChatThemesD6D71D7B) (*mtproto.Account_ChatThemes, error)
- func (c *ThemesCore) AccountGetTheme(in *mtproto.TLAccountGetTheme) (*mtproto.Theme, error)
- func (c *ThemesCore) AccountGetThemes(in *mtproto.TLAccountGetThemes) (*mtproto.Account_Themes, error)
- func (c *ThemesCore) AccountInstallTheme(in *mtproto.TLAccountInstallTheme) (*mtproto.Bool, error)
- func (c *ThemesCore) AccountSaveTheme(in *mtproto.TLAccountSaveTheme) (*mtproto.Bool, error)
- func (c *ThemesCore) AccountUpdateTheme(in *mtproto.TLAccountUpdateTheme) (*mtproto.Theme, error)
- func (c *ThemesCore) AccountUploadTheme(in *mtproto.TLAccountUploadTheme) (*mtproto.Document, error)
- func (c *ThemesCore) MessagesSetChatTheme(in *mtproto.TLMessagesSetChatTheme) (*mtproto.Updates, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThemesCore ¶
type ThemesCore struct { logx.Logger MD *metadata.RpcMetadata // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, svcCtx *svc.ServiceContext) *ThemesCore
func (*ThemesCore) AccountCreateTheme ¶
func (c *ThemesCore) AccountCreateTheme(in *mtproto.TLAccountCreateTheme) (*mtproto.Theme, error)
AccountCreateTheme account.createTheme#652e4400 flags:# slug:string title:string document:flags.2?InputDocument settings:flags.3?Vector<InputThemeSettings> = Theme;
func (*ThemesCore) AccountGetChatThemesD638DE89 ¶
func (c *ThemesCore) AccountGetChatThemesD638DE89(in *mtproto.TLAccountGetChatThemesD638DE89) (*mtproto.Account_Themes, error)
AccountGetChatThemesD638DE89 account.getChatThemes#d638de89 hash:long = account.Themes;
func (*ThemesCore) AccountGetChatThemesD6D71D7B ¶
func (c *ThemesCore) AccountGetChatThemesD6D71D7B(in *mtproto.TLAccountGetChatThemesD6D71D7B) (*mtproto.Account_ChatThemes, error)
AccountGetChatThemesD6D71D7B account.getChatThemes#d6d71d7b hash:int = account.ChatThemes;
func (*ThemesCore) AccountGetTheme ¶
func (c *ThemesCore) AccountGetTheme(in *mtproto.TLAccountGetTheme) (*mtproto.Theme, error)
AccountGetTheme account.getTheme#8d9d742b format:string theme:InputTheme document_id:long = Theme;
func (*ThemesCore) AccountGetThemes ¶
func (c *ThemesCore) AccountGetThemes(in *mtproto.TLAccountGetThemes) (*mtproto.Account_Themes, error)
AccountGetThemes account.getThemes#7206e458 format:string hash:long = account.Themes;
func (*ThemesCore) AccountInstallTheme ¶
func (c *ThemesCore) AccountInstallTheme(in *mtproto.TLAccountInstallTheme) (*mtproto.Bool, error)
AccountInstallTheme account.installTheme#c727bb3b flags:# dark:flags.0?true theme:flags.1?InputTheme format:flags.2?string base_theme:flags.3?BaseTheme = Bool;
func (*ThemesCore) AccountSaveTheme ¶
func (c *ThemesCore) AccountSaveTheme(in *mtproto.TLAccountSaveTheme) (*mtproto.Bool, error)
AccountSaveTheme account.saveTheme#f257106c theme:InputTheme unsave:Bool = Bool;
func (*ThemesCore) AccountUpdateTheme ¶
func (c *ThemesCore) AccountUpdateTheme(in *mtproto.TLAccountUpdateTheme) (*mtproto.Theme, error)
AccountUpdateTheme account.updateTheme#2bf40ccc flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?Vector<InputThemeSettings> = Theme;
func (*ThemesCore) AccountUploadTheme ¶
func (c *ThemesCore) AccountUploadTheme(in *mtproto.TLAccountUploadTheme) (*mtproto.Document, error)
AccountUploadTheme account.uploadTheme#1c3db333 flags:# file:InputFile thumb:flags.0?InputFile file_name:string mime_type:string = Document;
func (*ThemesCore) MessagesSetChatTheme ¶
func (c *ThemesCore) MessagesSetChatTheme(in *mtproto.TLMessagesSetChatTheme) (*mtproto.Updates, error)
MessagesSetChatTheme messages.setChatTheme#e63be13f peer:InputPeer emoticon:string = Updates;
Source Files ¶
- account.createTheme_handler.go
- account.getChatThemesD638DE89_handler.go
- account.getChatThemesD6D71D7B_handler.go
- account.getTheme_handler.go
- account.getThemes_handler.go
- account.installTheme_handler.go
- account.saveTheme_handler.go
- account.updateTheme_handler.go
- account.uploadTheme_handler.go
- core.go
- messages.setChatTheme_handler.go