View Source ExGram.Model.ChatMemberRestricted (ex_gram v0.50.1)

Represents a chat member that is under certain restrictions in the chat. Supergroups only.

Check the documentation of this model in https://core.telegram.org/bots/api#chatmemberrestricted

Summary

Types

@type t() :: %ExGram.Model.ChatMemberRestricted{
  can_add_web_page_previews: boolean(),
  can_change_info: boolean(),
  can_invite_users: boolean(),
  can_manage_topics: boolean(),
  can_pin_messages: boolean(),
  can_send_audios: boolean(),
  can_send_documents: boolean(),
  can_send_messages: boolean(),
  can_send_other_messages: boolean(),
  can_send_photos: boolean(),
  can_send_polls: boolean(),
  can_send_video_notes: boolean(),
  can_send_videos: boolean(),
  can_send_voice_notes: boolean(),
  is_member: boolean(),
  status: String.t(),
  until_date: integer(),
  user: ExGram.Model.User.t()
}

Functions