ex_gram v0.6.0 ExGram View Source
Link to this section Summary
Functions
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
Returns a specification to start this module under a supervisor
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
Callback invoked to start the supervisor and during hot code upgrades
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
Link to this section Functions
add_sticker_to_set( user_id :: integer(), name :: String.t(), png_sticker :: {:file, String.t()} | String.t(), emojis :: String.t(), ops :: [{:mask_position, ExGram.Model.MaskPosition.t()}] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
answer_inline_query( inline_query_id :: String.t(), results :: [ExGram.Model.InlineQueryResult.t()], ops :: [ cache_time: integer(), is_personal: boolean(), next_offset: String.t(), switch_pm_text: String.t(), switch_pm_parameter: String.t() ] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
answer_pre_checkout_query( pre_checkout_query_id :: String.t(), ok :: boolean(), ops :: [{:error_message, String.t()}] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
answer_shipping_query( shipping_query_id :: String.t(), ok :: boolean(), ops :: [ shipping_options: [ExGram.Model.ShippingOption.t()], error_message: String.t() ] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
answer_shipping_query!( shipping_query_id :: String.t(), ok :: boolean(), ops :: [ shipping_options: [ExGram.Model.ShippingOption.t()], error_message: String.t() ] ) :: true
TODO: Do documentation
Returns a specification to start this module under a supervisor.
See Supervisor
.
create_new_sticker_set( user_id :: integer(), name :: String.t(), title :: String.t(), png_sticker :: {:file, String.t()} | String.t(), emojis :: String.t(), ops :: [ contains_masks: boolean(), mask_position: ExGram.Model.MaskPosition.t() ] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
delete_chat_photo(chat_id :: integer() | String.t(), ops :: []) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
delete_chat_sticker_set(chat_id :: integer() | String.t(), ops :: []) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
delete_message( chat_id :: integer() | String.t(), message_id :: integer(), ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
delete_sticker_from_set(sticker :: String.t(), ops :: []) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
delete_sticker_from_set!(sticker :: String.t(), ops :: []) :: true
TODO: Do documentation
delete_webhook(ops :: []) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
edit_message_caption( ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), caption: String.t(), parse_mode: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
edit_message_caption!( ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), caption: String.t(), parse_mode: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
edit_message_live_location( latitude :: float(), longitude :: float(), ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
edit_message_live_location!( latitude :: float(), longitude :: float(), ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
edit_message_media( media :: ExGram.Model.InputMedia.t(), ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
edit_message_media!( media :: ExGram.Model.InputMedia.t(), ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
edit_message_reply_markup( ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
edit_message_reply_markup!( ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
edit_message_text( text :: String.t(), ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), parse_mode: String.t(), disable_web_page_preview: boolean(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
edit_message_text!( text :: String.t(), ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), parse_mode: String.t(), disable_web_page_preview: boolean(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
export_chat_invite_link(chat_id :: integer() | String.t(), ops :: []) :: {:ok, String.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
forward_message( chat_id :: integer() | String.t(), from_chat_id :: integer() | String.t(), message_id :: integer(), ops :: [{:disable_notification, boolean()}] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
get_chat(chat_id :: integer() | String.t(), ops :: []) :: {:ok, ExGram.Model.Chat.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_chat!(chat_id :: integer() | String.t(), ops :: []) :: ExGram.Model.Chat.t()
TODO: Do documentation
get_chat_administrators(chat_id :: integer() | String.t(), ops :: []) :: {:ok, [ExGram.Model.ChatMember.t()]} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_chat_administrators!(chat_id :: integer() | String.t(), ops :: []) :: [ ExGram.Model.ChatMember.t() ]
TODO: Do documentation
get_chat_member( chat_id :: integer() | String.t(), user_id :: integer(), ops :: [] ) :: {:ok, ExGram.Model.ChatMember.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_chat_member!( chat_id :: integer() | String.t(), user_id :: integer(), ops :: [] ) :: ExGram.Model.ChatMember.t()
TODO: Do documentation
get_chat_members_count(chat_id :: integer() | String.t(), ops :: []) :: {:ok, integer()} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
get_file(file_id :: String.t(), ops :: []) :: {:ok, ExGram.Model.File.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_file!(file_id :: String.t(), ops :: []) :: ExGram.Model.File.t()
TODO: Do documentation
get_game_high_scores( user_id :: integer(), ops :: [ chat_id: integer(), message_id: integer(), inline_message_id: String.t() ] ) :: {:ok, [ExGram.Model.GameHighScore.t()]} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_game_high_scores!( user_id :: integer(), ops :: [ chat_id: integer(), message_id: integer(), inline_message_id: String.t() ] ) :: [ExGram.Model.GameHighScore.t()]
TODO: Do documentation
get_me(ops :: []) :: {:ok, ExGram.Model.User.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
get_sticker_set(name :: String.t(), ops :: []) :: {:ok, ExGram.Model.object()} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_sticker_set!(name :: String.t(), ops :: []) :: ExGram.Model.object()
TODO: Do documentation
get_updates( ops :: [ offset: integer(), limit: integer(), timeout: integer(), allowed_updates: [String.t()] ] ) :: {:ok, [ExGram.Model.Update.t()]} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_updates!( ops :: [ offset: integer(), limit: integer(), timeout: integer(), allowed_updates: [String.t()] ] ) :: [ExGram.Model.Update.t()]
TODO: Do documentation
get_user_profile_photos( user_id :: integer(), ops :: [offset: integer(), limit: integer()] ) :: {:ok, ExGram.Model.UserProfilePhotos.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_user_profile_photos!( user_id :: integer(), ops :: [offset: integer(), limit: integer()] ) :: ExGram.Model.UserProfilePhotos.t()
TODO: Do documentation
get_webhook_info(ops :: []) :: {:ok, ExGram.Model.WebhookInfo.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
get_webhook_info!(ops :: []) :: ExGram.Model.WebhookInfo.t()
TODO: Do documentation
Callback invoked to start the supervisor and during hot code upgrades.
Developers typically invoke Supervisor.init/2
at the end of their
init callback to return the proper supervision flags.
Callback implementation for Supervisor.init/1
.
kick_chat_member( chat_id :: integer() | String.t(), user_id :: integer(), ops :: [{:until_date, integer()}] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
leave_chat(chat_id :: integer() | String.t(), ops :: []) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
pin_chat_message( chat_id :: integer() | String.t(), message_id :: integer(), ops :: [{:disable_notification, boolean()}] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
promote_chat_member( chat_id :: integer() | String.t(), user_id :: integer(), ops :: [ can_change_info: boolean(), can_post_messages: boolean(), can_edit_messages: boolean(), can_delete_messages: boolean(), can_invite_users: boolean(), can_restrict_members: boolean(), can_pin_messages: boolean(), can_promote_members: boolean() ] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
promote_chat_member!( chat_id :: integer() | String.t(), user_id :: integer(), ops :: [ can_change_info: boolean(), can_post_messages: boolean(), can_edit_messages: boolean(), can_delete_messages: boolean(), can_invite_users: boolean(), can_restrict_members: boolean(), can_pin_messages: boolean(), can_promote_members: boolean() ] ) :: true
TODO: Do documentation
TODO: Do documentation
TODO: Do documentation
send_animation( chat_id :: integer() | String.t(), animation :: {:file, String.t()} | String.t(), ops :: [ duration: integer(), width: integer(), height: integer(), thumb: {:file, String.t()} | String.t(), caption: String.t(), parse_mode: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_animation!( chat_id :: integer() | String.t(), animation :: {:file, String.t()} | String.t(), ops :: [ duration: integer(), width: integer(), height: integer(), thumb: {:file, String.t()} | String.t(), caption: String.t(), parse_mode: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_audio( chat_id :: integer() | String.t(), audio :: {:file, String.t()} | String.t(), ops :: [ caption: String.t(), parse_mode: String.t(), duration: integer(), performer: String.t(), title: String.t(), thumb: {:file, String.t()} | String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_audio!( chat_id :: integer() | String.t(), audio :: {:file, String.t()} | String.t(), ops :: [ caption: String.t(), parse_mode: String.t(), duration: integer(), performer: String.t(), title: String.t(), thumb: {:file, String.t()} | String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_chat_action( chat_id :: integer() | String.t(), action :: String.t(), ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
send_contact( chat_id :: integer() | String.t(), phone_number :: String.t(), first_name :: String.t(), ops :: [ last_name: String.t(), vcard: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_contact!( chat_id :: integer() | String.t(), phone_number :: String.t(), first_name :: String.t(), ops :: [ last_name: String.t(), vcard: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_document( chat_id :: integer() | String.t(), document :: {:file, String.t()} | String.t(), ops :: [ thumb: {:file, String.t()} | String.t(), caption: String.t(), parse_mode: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_document!( chat_id :: integer() | String.t(), document :: {:file, String.t()} | String.t(), ops :: [ thumb: {:file, String.t()} | String.t(), caption: String.t(), parse_mode: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_game( chat_id :: integer(), game_short_name :: String.t(), ops :: [ disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_game!( chat_id :: integer(), game_short_name :: String.t(), ops :: [ disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_invoice( chat_id :: integer(), title :: String.t(), description :: String.t(), payload :: String.t(), provider_token :: String.t(), start_parameter :: String.t(), currency :: String.t(), prices :: [ExGram.Model.LabeledPrice.t()], ops :: [ provider_data: String.t(), photo_url: String.t(), photo_size: integer(), photo_width: integer(), photo_height: integer(), need_name: boolean(), need_phone_number: boolean(), need_email: boolean(), need_shipping_address: boolean(), send_phone_number_to_provider: boolean(), send_email_to_provider: boolean(), is_flexible: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_invoice!( chat_id :: integer(), title :: String.t(), description :: String.t(), payload :: String.t(), provider_token :: String.t(), start_parameter :: String.t(), currency :: String.t(), prices :: [ExGram.Model.LabeledPrice.t()], ops :: [ provider_data: String.t(), photo_url: String.t(), photo_size: integer(), photo_width: integer(), photo_height: integer(), need_name: boolean(), need_phone_number: boolean(), need_email: boolean(), need_shipping_address: boolean(), send_phone_number_to_provider: boolean(), send_email_to_provider: boolean(), is_flexible: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_location( chat_id :: integer() | String.t(), latitude :: float(), longitude :: float(), ops :: [ live_period: integer(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_location!( chat_id :: integer() | String.t(), latitude :: float(), longitude :: float(), ops :: [ live_period: integer(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_media_group( chat_id :: integer() | String.t(), media :: [ExGram.Model.InputMediaPhoto.t() | ExGram.Model.InputMediaVideo.t()], ops :: [disable_notification: boolean(), reply_to_message_id: integer()] ) :: {:ok, ExGram.Model.Messages.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_media_group!( chat_id :: integer() | String.t(), media :: [ExGram.Model.InputMediaPhoto.t() | ExGram.Model.InputMediaVideo.t()], ops :: [disable_notification: boolean(), reply_to_message_id: integer()] ) :: ExGram.Model.Messages.t()
TODO: Do documentation
send_message( chat_id :: integer() | String.t(), text :: String.t(), ops :: [ parse_mode: String.t(), disable_web_page_preview: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_message!( chat_id :: integer() | String.t(), text :: String.t(), ops :: [ parse_mode: String.t(), disable_web_page_preview: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_photo( chat_id :: integer() | String.t(), photo :: {:file, String.t()} | String.t(), ops :: [ caption: String.t(), parse_mode: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_photo!( chat_id :: integer() | String.t(), photo :: {:file, String.t()} | String.t(), ops :: [ caption: String.t(), parse_mode: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_sticker( chat_id :: integer() | String.t(), sticker :: {:file, String.t()} | String.t(), ops :: [ disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_sticker!( chat_id :: integer() | String.t(), sticker :: {:file, String.t()} | String.t(), ops :: [ disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_venue( chat_id :: integer() | String.t(), latitude :: float(), longitude :: float(), title :: String.t(), address :: String.t(), ops :: [ foursquare_id: String.t(), foursquare_type: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_venue!( chat_id :: integer() | String.t(), latitude :: float(), longitude :: float(), title :: String.t(), address :: String.t(), ops :: [ foursquare_id: String.t(), foursquare_type: String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_video( chat_id :: integer() | String.t(), video :: {:file, String.t()} | String.t(), ops :: [ duration: integer(), width: integer(), height: integer(), thumb: {:file, String.t()} | String.t(), caption: String.t(), parse_mode: String.t(), supports_streaming: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_video!( chat_id :: integer() | String.t(), video :: {:file, String.t()} | String.t(), ops :: [ duration: integer(), width: integer(), height: integer(), thumb: {:file, String.t()} | String.t(), caption: String.t(), parse_mode: String.t(), supports_streaming: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_video_note( chat_id :: integer() | String.t(), video_note :: {:file, String.t()} | String.t(), ops :: [ duration: integer(), length: integer(), thumb: {:file, String.t()} | String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_video_note!( chat_id :: integer() | String.t(), video_note :: {:file, String.t()} | String.t(), ops :: [ duration: integer(), length: integer(), thumb: {:file, String.t()} | String.t(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
send_voice( chat_id :: integer() | String.t(), voice :: {:file, String.t()} | String.t(), ops :: [ caption: String.t(), parse_mode: String.t(), duration: integer(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
send_voice!( chat_id :: integer() | String.t(), voice :: {:file, String.t()} | String.t(), ops :: [ caption: String.t(), parse_mode: String.t(), duration: integer(), disable_notification: boolean(), reply_to_message_id: integer(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardMarkup.t() | ExGram.Model.ReplyKeyboardRemove.t() | ExGram.Model.ForceReply.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
set_chat_description( chat_id :: integer() | String.t(), ops :: [{:description, String.t()}] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
set_chat_photo( chat_id :: integer() | String.t(), photo :: {:file, String.t()}, ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
set_chat_sticker_set( chat_id :: integer() | String.t(), sticker_set_name :: String.t(), ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
set_chat_title( chat_id :: integer() | String.t(), title :: String.t(), ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
set_game_score( user_id :: integer(), score :: integer(), ops :: [ force: boolean(), disable_edit_message: boolean(), chat_id: integer(), message_id: integer(), inline_message_id: String.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
set_passport_data_errors( user_id :: integer(), errors :: [ExGram.Model.PassportElementError.t()], ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
set_passport_data_errors!( user_id :: integer(), errors :: [ExGram.Model.PassportElementError.t()], ops :: [] ) :: true
TODO: Do documentation
set_sticker_position_in_set( sticker :: String.t(), position :: integer(), ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
set_webhook( url :: String.t(), ops :: [ certificate: {:file, String.t()}, max_connections: integer(), allowed_updates: [String.t()] ] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
stop_message_live_location( ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: {:ok, ExGram.Model.Message.t()} | {:error, ExGram.Error.t()}
TODO: Do documentation
stop_message_live_location!( ops :: [ chat_id: integer() | String.t(), message_id: integer(), inline_message_id: String.t(), reply_markup: ExGram.Model.InlineKeyboardMarkup.t() ] ) :: ExGram.Model.Message.t()
TODO: Do documentation
unban_chat_member( chat_id :: integer() | String.t(), user_id :: integer(), ops :: [] ) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
unpin_chat_message(chat_id :: integer() | String.t(), ops :: []) :: {:ok, true} | {:error, ExGram.Error.t()}
TODO: Do documentation
TODO: Do documentation
upload_sticker_file( user_id :: integer(), png_sticker :: {:file, String.t()}, ops :: [] ) :: {:ok, ExGram.Model.the()} | {:error, ExGram.Error.t()}
TODO: Do documentation
upload_sticker_file!( user_id :: integer(), png_sticker :: {:file, String.t()}, ops :: [] ) :: ExGram.Model.the()
TODO: Do documentation