Raw.bots.SetBotInfo
Set localized name, about text and description of a bot (or of the current account, if called by a bot).
bots.setBotInfo#10cf3123 flags:# bot:flags.2?InputUser lang_code:string name:flags.3?string about:flags.0?string description:flags.1?string = Bool;
export namespace Raw {
export namespace bots {
export class SetBotInfo {
constructor(params: {
bot?: Raw.TypeInputUser;
langCode: string;
name?: string;
about?: string;
description?: string;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x10cf3123
Property
bot
: Raw.TypeInputUser or undefinedIf called by a user, must contain the peer of a bot we own.
langCode
: stringLanguage code, if left empty update the fallback about text and description
name
: string or undefinedNew bot name
about
: string or undefinedNew about text
description
: string or undefinedNew description