Skip to content

getGroup

Sahri Riza Umami edited this page Jul 9, 2017 · 4 revisions

Returns information about a group by its identifier, offline request if current user is not a bot.

getGroup(group_id)
Option Description
group_id Group identifier.

Example

Returns information about group 1234567890.

getGroup(1234567890)

Response:

{
  ID = "Group",
  anyone_can_edit_ = false,
  id_ = 1234567890,
  is_active_ = true,
  member_count_ = 5,
  migrated_to_channel_id_ = 0,
  status_ = {
    ID = "ChatMemberStatusCreator"
  }
}

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally