create static method
UpdateChatPendingJoinRequests
create({
- bool schemeUtilsIsSetDefaultData = false,
- String special_type = "updateChatPendingJoinRequests",
- String special_return_type = "update",
- num? chat_id,
- ChatJoinRequestsInfo? pending_join_requests,
override
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
static UpdateChatPendingJoinRequests create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "updateChatPendingJoinRequests",
String special_return_type = "update",
num? chat_id,
ChatJoinRequestsInfo? pending_join_requests,
}) {
// UpdateChatPendingJoinRequests updateChatPendingJoinRequests = UpdateChatPendingJoinRequests({
final Map updateChatPendingJoinRequests_data_create_json = {
"@type": special_type,
"@return_type": special_return_type,
"chat_id": chat_id,
"pending_join_requests": (pending_join_requests != null) ? pending_join_requests.toJson() : null,
};
updateChatPendingJoinRequests_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (updateChatPendingJoinRequests_data_create_json.containsKey(key) == false) {
updateChatPendingJoinRequests_data_create_json[key] = value;
}
});
}
return UpdateChatPendingJoinRequests(updateChatPendingJoinRequests_data_create_json);
}