peyk.platforms.rubika.types.inline_message

Classes

InlineMessage([sender_id, text, file, ...])

Represent the Rubika Bot API InlineMessage type.

class peyk.platforms.rubika.types.inline_message.InlineMessage(sender_id: str = '', text: str | None = None, file: File | None = None, location: Location | None = None, aux_data: AuxData | None = None, message_id: str = '', chat_id: str = '')[source]

Bases: object

Represent the Rubika Bot API InlineMessage type.

The class preserves the existing public fields and wire-format behavior.

sender_id: str = ''
text: str | None = None
file: File | None = None
location: Location | None = None
aux_data: AuxData | None = None
message_id: str = ''
chat_id: str = ''
classmethod from_dict(data: dict | None) InlineMessage | None[source]

Performs the from dict operation for the Rubika client.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the Rubika operation.