create static method
GetUserChatBoosts
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "getUserChatBoosts",
- String special_return_type = "foundChatBoosts",
- bool? is_tdlib_method,
- num? chat_id,
- num? user_id,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static GetUserChatBoosts create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "getUserChatBoosts",
String special_return_type = "foundChatBoosts",
bool? is_tdlib_method,
num? chat_id,
num? user_id,
}) {
// GetUserChatBoosts getUserChatBoosts = GetUserChatBoosts({
final Map getUserChatBoosts_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"is_tdlib_method": is_tdlib_method,
"chat_id": chat_id,
"user_id": user_id,
};
getUserChatBoosts_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (getUserChatBoosts_data_create_json.containsKey(key) == false) {
getUserChatBoosts_data_create_json[key] = value;
}
});
}
return GetUserChatBoosts(getUserChatBoosts_data_create_json);
}