Commit Graph

6 Commits

Author SHA1 Message Date
Giuseppe Marino 00165a7ef5
Clang format 2020-11-11 20:09:20 +01:00
Giuseppe Marino 0624215988
Implemented getParticipants
- method `getParticipants` : `chat_id`, `type`
-- `type` is string, possible values are
    `members`, `parameters`, `admins`, `administators`, `restricted`, 
`banned`, `bots`
-- return type: array of `ChatMember`

- edits to the `ChatMember` type:
-- now the full bot list is returned
-- new `joined_date` field (type integer)
-- new `inviter` field (type User)
2020-11-11 20:09:20 +01:00
Giuseppe Marino a5a0c49467
Custom methods
* Added custom methods
  - getMessageInfo
  - getParticipants
  - deleteMessages
  - toggleGroupInvite

* Implemented method getMessageInfo
* added `views` field and `forwards` field to message
* getChat now resolves the username also for users

* Added custom executable flags
  - relative : use relative path for files in local mode
  - insecure (not implemented) : allow http connection in non-local mode
2020-11-10 16:14:44 +01:00
Andrea Cavalli 01c4a80ceb Implement optimize_memory correctly 2020-11-08 17:30:06 +01:00
Andrea Cavalli f4e3987860 Add optimize_memory command 2020-11-05 13:12:05 +01:00
levlam 74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00