tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::updateNewCallbackQuery Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::updateNewCallbackQuery:
td::td_api::Update td::td_api::Object td::TlObject

Public Member Functions

 updateNewCallbackQuery ()
 
 updateNewCallbackQuery (int64 id_, int53 sender_user_id_, int53 chat_id_, int53 message_id_, int64 chat_instance_, object_ptr< CallbackQueryPayload > &&payload_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int64 id_
 Unique query identifier.
 
int53 sender_user_id_
 Identifier of the user who sent the query.
 
int53 chat_id_
 Identifier of the chat where the query was sent.
 
int53 message_id_
 Identifier of the message from which the query originated.
 
int64 chat_instance_
 Identifier that uniquely corresponds to the chat to which the message was sent.
 
object_ptr< CallbackQueryPayloadpayload_
 Query payload.
 

Static Public Attributes

static const std::int32_t ID = -1989881762
 Identifier uniquely determining a type of the object.
 

Detailed Description

A new incoming callback query; for bots only.

Definition at line 82618 of file td_api.h.

Constructor & Destructor Documentation

◆ updateNewCallbackQuery() [1/2]

td::td_api::updateNewCallbackQuery::updateNewCallbackQuery ( )

A new incoming callback query; for bots only.

◆ updateNewCallbackQuery() [2/2]

td::td_api::updateNewCallbackQuery::updateNewCallbackQuery ( int64  id_,
int53  sender_user_id_,
int53  chat_id_,
int53  message_id_,
int64  chat_instance_,
object_ptr< CallbackQueryPayload > &&  payload_ 
)

A new incoming callback query; for bots only.

Parameters
[in]id_Unique query identifier.
[in]sender_user_id_Identifier of the user who sent the query.
[in]chat_id_Identifier of the chat where the query was sent.
[in]message_id_Identifier of the message from which the query originated.
[in]chat_instance_Identifier that uniquely corresponds to the chat to which the message was sent.
[in]payload_Query payload.

Member Function Documentation

◆ store()

void td::td_api::updateNewCallbackQuery::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ chat_id_

int53 td::td_api::updateNewCallbackQuery::chat_id_

Identifier of the chat where the query was sent.

Definition at line 82633 of file td_api.h.

◆ chat_instance_

int64 td::td_api::updateNewCallbackQuery::chat_instance_

Identifier that uniquely corresponds to the chat to which the message was sent.

Definition at line 82637 of file td_api.h.

◆ ID

const std::int32_t td::td_api::updateNewCallbackQuery::ID = -1989881762
static

Identifier uniquely determining a type of the object.

Definition at line 82659 of file td_api.h.

◆ id_

int64 td::td_api::updateNewCallbackQuery::id_

Unique query identifier.

Definition at line 82629 of file td_api.h.

◆ message_id_

int53 td::td_api::updateNewCallbackQuery::message_id_

Identifier of the message from which the query originated.

Definition at line 82635 of file td_api.h.

◆ payload_

object_ptr<CallbackQueryPayload> td::td_api::updateNewCallbackQuery::payload_

Query payload.

Definition at line 82639 of file td_api.h.

◆ sender_user_id_

int53 td::td_api::updateNewCallbackQuery::sender_user_id_

Identifier of the user who sent the query.

Definition at line 82631 of file td_api.h.


The documentation for this class was generated from the following file: