Skip to content

Commit

Permalink
Update Bot API to 7.1.0 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolfik1 authored Feb 20, 2024
1 parent 91fd8bd commit 4c55a14
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 165 deletions.
54 changes: 27 additions & 27 deletions src/Funogram.Generator/out/methods.json
Original file line number Diff line number Diff line change
Expand Up @@ -1376,23 +1376,23 @@
"OriginalName": "latitude",
"ConvertedName": "Latitude",
"Description": "Latitude of the location",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": false
},
{
"OriginalName": "longitude",
"ConvertedName": "Longitude",
"Description": "Longitude of the location",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": false
},
{
"OriginalName": "horizontal_accuracy",
"ConvertedName": "HorizontalAccuracy",
"Description": "The radius of uncertainty for the location, measured in meters; 0-1500",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": true
},
Expand Down Expand Up @@ -1481,15 +1481,15 @@
"OriginalName": "latitude",
"ConvertedName": "Latitude",
"Description": "Latitude of the venue",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": false
},
{
"OriginalName": "longitude",
"ConvertedName": "Longitude",
"Description": "Longitude of the venue",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": false
},
Expand Down Expand Up @@ -2163,7 +2163,7 @@
{
"OriginalName": "can_manage_chat",
"ConvertedName": "CanManageChat",
"Description": "Pass True if the administrator can access the chat event log, boost list in channels, see channel members, report spam messages, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege",
"Description": "Pass True if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages and ignore slow mode. Implied by any other administrator privilege.",
"OriginalFieldType": "Boolean",
"ConvertedFieldType": "bool",
"Optional": true
Expand Down Expand Up @@ -2217,49 +2217,49 @@
"Optional": true
},
{
"OriginalName": "can_post_messages",
"ConvertedName": "CanPostMessages",
"Description": "Pass True if the administrator can post messages in the channel, or access channel statistics; channels only",
"OriginalName": "can_post_stories",
"ConvertedName": "CanPostStories",
"Description": "Pass True if the administrator can post stories to the chat",
"OriginalFieldType": "Boolean",
"ConvertedFieldType": "bool",
"Optional": true
},
{
"OriginalName": "can_edit_messages",
"ConvertedName": "CanEditMessages",
"Description": "Pass True if the administrator can edit messages of other users and can pin messages; channels only",
"OriginalName": "can_edit_stories",
"ConvertedName": "CanEditStories",
"Description": "Pass True if the administrator can edit stories posted by other users",
"OriginalFieldType": "Boolean",
"ConvertedFieldType": "bool",
"Optional": true
},
{
"OriginalName": "can_pin_messages",
"ConvertedName": "CanPinMessages",
"Description": "Pass True if the administrator can pin messages, supergroups only",
"OriginalName": "can_delete_stories",
"ConvertedName": "CanDeleteStories",
"Description": "Pass True if the administrator can delete stories posted by other users",
"OriginalFieldType": "Boolean",
"ConvertedFieldType": "bool",
"Optional": true
},
{
"OriginalName": "can_post_stories",
"ConvertedName": "CanPostStories",
"Description": "Pass True if the administrator can post stories in the channel; channels only",
"OriginalName": "can_post_messages",
"ConvertedName": "CanPostMessages",
"Description": "Pass True if the administrator can post messages in the channel, or access channel statistics; channels only",
"OriginalFieldType": "Boolean",
"ConvertedFieldType": "bool",
"Optional": true
},
{
"OriginalName": "can_edit_stories",
"ConvertedName": "CanEditStories",
"Description": "Pass True if the administrator can edit stories posted by other users; channels only",
"OriginalName": "can_edit_messages",
"ConvertedName": "CanEditMessages",
"Description": "Pass True if the administrator can edit messages of other users and can pin messages; channels only",
"OriginalFieldType": "Boolean",
"ConvertedFieldType": "bool",
"Optional": true
},
{
"OriginalName": "can_delete_stories",
"ConvertedName": "CanDeleteStories",
"Description": "Pass True if the administrator can delete stories posted by other users; channels only",
"OriginalName": "can_pin_messages",
"ConvertedName": "CanPinMessages",
"Description": "Pass True if the administrator can pin messages, supergroups only",
"OriginalFieldType": "Boolean",
"ConvertedFieldType": "bool",
"Optional": true
Expand Down Expand Up @@ -3779,23 +3779,23 @@
"OriginalName": "latitude",
"ConvertedName": "Latitude",
"Description": "Latitude of new location",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": false
},
{
"OriginalName": "longitude",
"ConvertedName": "Longitude",
"Description": "Longitude of new location",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": false
},
{
"OriginalName": "horizontal_accuracy",
"ConvertedName": "HorizontalAccuracy",
"Description": "The radius of uncertainty for the location, measured in meters; 0-1500",
"OriginalFieldType": "Float number",
"OriginalFieldType": "Float",
"ConvertedFieldType": "float",
"Optional": true
},
Expand Down
Loading

0 comments on commit 4c55a14

Please sign in to comment.