create static method
ChatFolderInviteLink
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "chatFolderInviteLink",
- String special_return_type = "chatFolderInviteLink",
- String? invite_link,
- String? name,
- List<
num> ? chat_ids,
override
Generate By AZKADEV | Azka Axelion Gibran Script Dont edit by hand or anything manual
Implementation
static ChatFolderInviteLink create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "chatFolderInviteLink",
String special_return_type = "chatFolderInviteLink",
String? invite_link,
String? name,
List<num>? chat_ids,
}) {
// ChatFolderInviteLink chatFolderInviteLink = ChatFolderInviteLink({
final Map chatFolderInviteLink_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"invite_link": invite_link,
"name": name,
"chat_ids": chat_ids,
};
chatFolderInviteLink_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (chatFolderInviteLink_data_create_json.containsKey(key) == false) {
chatFolderInviteLink_data_create_json[key] = value;
}
});
}
return ChatFolderInviteLink(chatFolderInviteLink_data_create_json);
}