ExGram.Model.ChecklistTask (ex_gram v0.64.0)

Copy Markdown View Source

Describes a task in a checklist.

Check the documentation of this model on Telegram Bot API

  • id: Unique identifier of the task
  • text: Text of the task
  • text_entities (optional): Optional. Special entities that appear in the task text
  • completed_by_user (optional): Optional. User that completed the task; omitted if the task wasn't completed by a user
  • completed_by_chat (optional): Optional. Chat that completed the task; omitted if the task wasn't completed by a chat
  • completion_date (optional): Optional. Point in time (Unix timestamp) when the task was completed; 0 if the task wasn't completed

Summary

Types

t()

@type t() :: %ExGram.Model.ChecklistTask{
  completed_by_chat: ExGram.Model.Chat.t() | nil,
  completed_by_user: ExGram.Model.User.t() | nil,
  completion_date: integer() | nil,
  id: integer(),
  text: String.t(),
  text_entities: [ExGram.Model.MessageEntity.t()] | nil
}

Functions

decode_as()