TelegramClientData class
return original data json
Constructors
- TelegramClientData({required String telegram_bot_api_token_bot, required TelegramClientType telegramClientType, required int tdlib_client_id, String client_user_name = "", int client_tg_user_id = 0, bool is_bot = false})
- return original data json
Properties
- client_tg_user_id → int
-
final
- client_user_name ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- is_bot ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tdlib_client_id ↔ int
-
getter/setter pair
- telegram_bot_api_token_bot ↔ String
-
getter/setter pair
- telegramClientType → TelegramClientType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tdlib(
{required int tdlib_client_id, String client_user_name = "", int client_tg_user_id = 0, bool is_bot = true}) → TelegramClientData - return original data json
-
telegramBotApi(
{required String token_bot, String client_user_name = "", int client_tg_user_id = 0, bool is_bot = true}) → TelegramClientData - return original data json