Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_message_origin Struct Reference

This object describes the origin of a message. More...

#include <telebot-types.h>

Public Attributes

char * type
 
long date
 
struct telebot_usersender_user
 
char * sender_user_name
 
struct telebot_chatsender_chat
 
char * author_signature
 
int message_id
 

Detailed Description

This object describes the origin of a message.

Member Data Documentation

◆ author_signature

char* telebot_message_origin::author_signature

Optional. For messages originally sent by an anonymous chat administrator, original message author signature

◆ date

long telebot_message_origin::date

Date the message was sent originally in Unix time

◆ message_id

int telebot_message_origin::message_id

Optional. Unique message identifier inside the chat

◆ sender_chat

struct telebot_chat* telebot_message_origin::sender_chat

Optional. Chat that sent the message originally

◆ sender_user

struct telebot_user* telebot_message_origin::sender_user

Optional. User that sent the message originally

◆ sender_user_name

char* telebot_message_origin::sender_user_name

Optional. Name of the user that sent the message originally

◆ type

char* telebot_message_origin::type

Type of the message origin, can be "user", "hidden_user", "chat", "channel"


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