Raw.messages.SetBotCallbackAnswer

Raw.messages.SetBotCallbackAnswer

Set the callback answer to a user button press (bots only)

messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool;
export namespace Raw {
  export namespace messages {
    export class SetBotCallbackAnswer {
      constructor(params: {
        alert?: boolean;
        queryId: bigint;
        message?: string;
        url?: string;
        cacheTime: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xd58f130a

Property

Results

boolean

Bots can use