Telegex.set_game_score

You're seeing just the function set_game_score, go back to Telegex module for more information.
Link to this function

set_game_score(user_id, score, optionals \\ [])

View Source

Specs

set_game_score(integer(), integer(),
  force: boolean(),
  disable_edit_message: boolean(),
  chat_id: integer(),
  message_id: integer(),
  inline_message_id: String.t()
) ::
  {:ok, Telegex.Model.Message.t() | boolean()}
  | {:error, Telegex.Model.errors()}

Use this method to set the score of the specified user in a game. On success, if the message was sent by the bot, returns the edited Telegex.Model.Message, otherwise returns True. Returns an error, if the new score is not greater than the user's current score in the chat and force is False.