mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 17:55:35 +01:00
69 KiB
69 KiB
description | title | image | has_children | has_toc | nav_order |
---|---|---|---|---|---|
MadelineProto PHP API reference | MadelineProto API | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | true | false | 2 |
danog/madelineproto
Async PHP client API for the telegram MTProto protocol.
Interfaces
- \danog\MadelineProto\EventHandler\SimpleFilter\Ended: Represents an ended call
- \danog\MadelineProto\EventHandler\SimpleFilter\FromAdmin: Allows messages from the bot admin
- \danog\MadelineProto\EventHandler\SimpleFilter\FromAdminOrOutgoing: Allows messages from the bot admin or outgoing messages
- \danog\MadelineProto\EventHandler\SimpleFilter\HasAudio: Allows only audio messages
- \danog\MadelineProto\EventHandler\SimpleFilter\HasDocument: Allows only documents
- \danog\MadelineProto\EventHandler\SimpleFilter\HasDocumentPhoto: Allows only document photos
- \danog\MadelineProto\EventHandler\SimpleFilter\HasGif: Allows only GIFs
- \danog\MadelineProto\EventHandler\SimpleFilter\HasMedia: Allows only media messages
- \danog\MadelineProto\EventHandler\SimpleFilter\HasMultiplePoll: Allows only messages that contain a multiple poll
- \danog\MadelineProto\EventHandler\SimpleFilter\HasNoMedia: Allows only messages with no media
- \danog\MadelineProto\EventHandler\SimpleFilter\HasPhoto: Allows only photos
- \danog\MadelineProto\EventHandler\SimpleFilter\HasPoll: Allows only messages that contain a poll
- \danog\MadelineProto\EventHandler\SimpleFilter\HasQuizPoll: Allows only messages that contain a quiz poll
- \danog\MadelineProto\EventHandler\SimpleFilter\HasRoundVideo: Allows only round videos
- \danog\MadelineProto\EventHandler\SimpleFilter\HasSinglePoll: Allows only messages that contain a single poll
- \danog\MadelineProto\EventHandler\SimpleFilter\HasSticker: Allows only stickers
- \danog\MadelineProto\EventHandler\SimpleFilter\HasTopic: Allow only messages coming from groups that has topics (Supergroups only).
- \danog\MadelineProto\EventHandler\SimpleFilter\HasVideo: Allows only videos
- \danog\MadelineProto\EventHandler\SimpleFilter\HasVoice: Allows only voice messages
- \danog\MadelineProto\EventHandler\SimpleFilter\Incoming: Represents an incoming message
- \danog\MadelineProto\EventHandler\SimpleFilter\IsEdited: Allows messages that were edited.
- \danog\MadelineProto\EventHandler\SimpleFilter\IsForwarded: Allows only forwarded messages
- \danog\MadelineProto\EventHandler\SimpleFilter\IsNotEdited: Allows messages that weren't edited.
- \danog\MadelineProto\EventHandler\SimpleFilter\IsReply: Allows only messages that reply to other messages
- \danog\MadelineProto\EventHandler\SimpleFilter\IsReplyToSelf: Allows only messages that reply to one of our messages
- \danog\MadelineProto\EventHandler\SimpleFilter\Outgoing: Represents an outgoing message
- \danog\MadelineProto\EventHandler\SimpleFilter\Running: Allow only currently running calls
Abstract classes
- \danog\MadelineProto\AsyncTools: Async tools.
- \danog\MadelineProto\EventHandler: Event handler.
- \danog\MadelineProto\FileCallbackInterface: File callback interface.
- \danog\MadelineProto\PluginEventHandler: Plugin event handler class.
- \danog\MadelineProto\SimpleEventHandler: Simple event handler class: by extending this class, you can use filters, crons and the simplified event handler API.
- \danog\MadelineProto\StrTools: Some tools.
- \danog\MadelineProto\Tools: Some tools.
- \danog\MadelineProto\Broadcast\Action: Interface that represents a broadcast action.
- \danog\MadelineProto\EventHandler\AbstractMessage: Represents an incoming or outgoing message.
- \danog\MadelineProto\EventHandler\AbstractPoll: Poll
- \danog\MadelineProto\EventHandler\AbstractPrivateMessage: Represents a private or secret chat message.
- \danog\MadelineProto\EventHandler\AbstractStory: Represents a Telegram Story.
- \danog\MadelineProto\EventHandler\Action: In-progress actions.
- \danog\MadelineProto\EventHandler\CallbackQuery: Represents a query sent by the user by clicking on a button.
- [\danog\MadelineProto\EventHandler\ChatInvite: Chat invite link that was used by the user to send the join request ».](/PHP/danog/MadelineProto/EventHandler/ChatInvite.html)
- \danog\MadelineProto\EventHandler\ChatInviteRequester: Indicates someone has requested to join a chat or channel.
- \danog\MadelineProto\EventHandler\Delete: Indicates that some messages were deleted.
- \danog\MadelineProto\EventHandler\Keyboard: Represents an inline or reply keyboard.
- \danog\MadelineProto\EventHandler\Media: Represents a generic media.
- \danog\MadelineProto\EventHandler\Message: Represents an incoming or outgoing message.
- \danog\MadelineProto\EventHandler\Participant: Info about a channel participant.
- \danog\MadelineProto\EventHandler\Pinned: Indicates that some messages were pinned/unpinned.
- \danog\MadelineProto\EventHandler\Typing: A user is typing.
- \danog\MadelineProto\EventHandler\Update: Represents a generic update.
- \danog\MadelineProto\EventHandler\Filter\Filter
- \danog\MadelineProto\EventHandler\Media\AbstractAudio: Represents a generic audio file.
- \danog\MadelineProto\EventHandler\Media\AbstractSticker: Represents a generic sticker.
- \danog\MadelineProto\EventHandler\Media\AbstractVideo: Represents a generic video.
- \danog\MadelineProto\EventHandler\Media\MediaStory: Represents a forwarded story.
- \danog\MadelineProto\EventHandler\Media\Sticker: Represents a sticker.
- \danog\MadelineProto\EventHandler\Message\ServiceMessage: Represents info about a service message.
- \danog\MadelineProto\EventHandler\Message\Entities\MessageEntity: Master class for message entities.
- \danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall: Represents a service message about a group call.
- \danog\MadelineProto\EventHandler\Participant\Rights
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination: To whom does a privacy rule apply?
- \danog\MadelineProto\EventHandler\Query\ButtonQuery: Represents a query sent by the user by clicking on a button.
- \danog\MadelineProto\EventHandler\Query\GameQuery: Represents a query sent by the user by clicking on a "Play game" button.
- \danog\MadelineProto\EventHandler\User\Status: Contains a status update.
- \danog\MadelineProto\Settings\DatabaseAbstract: Base class for storage backends.
- \danog\MadelineProto\Settings\Database\DriverDatabaseAbstract: Base class for database backends.
- \danog\MadelineProto\Settings\Database\SqlAbstract: Generic db backend settings.
- \danog\MadelineProto\TL\TLInterface
- \danog\MadelineProto\TL\Conversion\Extension: Manages generation of extensions for files.
Classes
- \danog\MadelineProto\API: Main API wrapper for MadelineProto.
- \danog\MadelineProto\BotApiFileId: Indicates a bot API file ID to upload using sendDocument, sendPhoto etc...
- \danog\MadelineProto\Conversion
- \danog\MadelineProto\EventHandlerIssue: Represents an event handler issue.
- \danog\MadelineProto\Exception: Basic exception.
- \danog\MadelineProto\FileCallback: File callback interface.
- \danog\MadelineProto\LocalFile: Indicates a local file to upload.
- \danog\MadelineProto\Logger: Logger class.
- \danog\MadelineProto\MyTelegramOrgWrapper: Wrapper for my.telegram.org.
- \danog\MadelineProto\Ogg: Async OGG stream reader and writer.
- \danog\MadelineProto\OggWriter: Async OGG stream writer.
- \danog\MadelineProto\PTSException: Internal error indicating a problem with Telegram's servers.
- \danog\MadelineProto\ParseMode: Indicates a parsing mode for text.
- \danog\MadelineProto\PeerNotInDbException: Indicates that a specified peer (user, chat, channel) was not found in the internal MadelineProto peer database.
- \danog\MadelineProto\PsrLogger: PSR-3 wrapper for MadelineProto's Logger.
- \danog\MadelineProto\RPCErrorException: Indicates an error returned by Telegram's API.
- \danog\MadelineProto\RemoteUrl: Indicates a remote URL to upload.
- \danog\MadelineProto\ResponseException: Indicates an error thrown when an unexpected response is received from telegram's servers.
- \danog\MadelineProto\SecretPeerNotInDbException: Indicates that the specified secret chat wasn't found.
- \danog\MadelineProto\SecurityException: Indicates a security error.
- \danog\MadelineProto\Settings: Settings class used for configuring MadelineProto.
- \danog\MadelineProto\Shutdown: Class that controls script shutdown.
- \danog\MadelineProto\TextEntities: Class that converts HTML or markdown to a message + set of entities.
- \danog\MadelineProto\TransportError: Indicates a transport error returned by Telegram's API.
- \danog\MadelineProto\VoIP: This update represents a VoIP Telegram call.
- \danog\MadelineProto\Broadcast\Filter: Broadcast filter.
- \danog\MadelineProto\Broadcast\Progress: Broadcast progress.
- \danog\MadelineProto\Broadcast\Status: Broadcast status.
- [\danog\MadelineProto\EventHandler\BotApp: Represents information about a named bot web app.](/PHP/danog/MadelineProto/EventHandler/BotApp.html)
- [\danog\MadelineProto\EventHandler\BotCommands: The command set of a certain bot in a certain chat has changed.](/PHP/danog/MadelineProto/EventHandler/BotCommands.html)
- \danog\MadelineProto\EventHandler\Command: Represents a bot command that can be used in a chat.
- \danog\MadelineProto\EventHandler\CommandType
- \danog\MadelineProto\EventHandler\ForwardedInfo: Info about a forwarded message.
- \danog\MadelineProto\EventHandler\InlineQuery: An incoming inline query.
- \danog\MadelineProto\EventHandler\Privacy: Indicates some privacy rules for a user or set of users.
- [\danog\MadelineProto\EventHandler\Wallpaper: Represents a wallpaper.](/PHP/danog/MadelineProto/EventHandler/Wallpaper.html)
- \danog\MadelineProto\EventHandler\Action\Cancel: Invalidate all previous action updates. E.g. when user deletes entered text or aborts a video upload.
- \danog\MadelineProto\EventHandler\Action\ChooseContact: User is selecting a contact to share.
- \danog\MadelineProto\EventHandler\Action\ChooseSticker: User is choosing a sticker.
- [\danog\MadelineProto\EventHandler\Action\EmojiSeen: User is watching an animated emoji reaction triggered by another user, click here for more info ».](/PHP/danog/MadelineProto/EventHandler/Action/EmojiSeen.html)
- [\danog\MadelineProto\EventHandler\Action\EmojiTap: User has clicked on an animated emoji triggering a reaction, click here for more info ».](/PHP/danog/MadelineProto/EventHandler/Action/EmojiTap.html)
- \danog\MadelineProto\EventHandler\Action\GamePlay: User is playing a game.
- \danog\MadelineProto\EventHandler\Action\GeoLocation: User is selecting a location to share.
- \danog\MadelineProto\EventHandler\Action\GroupCallSpeaking: User is currently speaking in the group call.
- \danog\MadelineProto\EventHandler\Action\HistoryImport: Chat history is being imported.
- \danog\MadelineProto\EventHandler\Action\RecordAudio: User is recording a voice message.
- \danog\MadelineProto\EventHandler\Action\RecordRound: User is recording a round video to share.
- \danog\MadelineProto\EventHandler\Action\RecordVideo: User is recording a video.
- \danog\MadelineProto\EventHandler\Action\Typing: User is typing.
- \danog\MadelineProto\EventHandler\Action\UploadAudio: User is uploading a voice message.
- \danog\MadelineProto\EventHandler\Action\UploadDocument: User is uploading a file.
- \danog\MadelineProto\EventHandler\Action\UploadPhoto: User is uploading a photo.
- \danog\MadelineProto\EventHandler\Action\UploadRound: User is uploading a round video.
- \danog\MadelineProto\EventHandler\Action\UploadVideo: User is uploading a video.
- \danog\MadelineProto\EventHandler\Attributes\Cron: Attribute that enables periodic execution of a certain method.
- \danog\MadelineProto\EventHandler\Attributes\Handler: Attribute that marks a handler method.
- [\danog\MadelineProto\EventHandler\Channel\ChannelParticipant: A participant has left, joined, was banned or admined in a channel or supergroup.](/PHP/danog/MadelineProto/EventHandler/Channel/ChannelParticipant.html)
- \danog\MadelineProto\EventHandler\Channel\MessageForwards: Indicates that the forward counter of a message in a channel has changed.
- \danog\MadelineProto\EventHandler\Channel\MessageViewsChanged: Indicates that the view counter of a message in a channel has changed.
- \danog\MadelineProto\EventHandler\Channel\UpdateChannel: A new channel is available, or info about an existing channel was changed.
- \danog\MadelineProto\EventHandler\ChatInvite\ChatInviteExported: Represents an exported chat invite.
- [\danog\MadelineProto\EventHandler\ChatInvite\ChatInvitePublicJoin: Used in updates and in the channel log to indicate when a user is requesting to join or has joined a discussion group.](/PHP/danog/MadelineProto/EventHandler/ChatInvite/ChatInvitePublicJoin.html)
- \danog\MadelineProto\EventHandler\ChatInviteRequester\BotChatInviteRequest: Indicates someone has requested to join a chat or channel (bots only).
- \danog\MadelineProto\EventHandler\ChatInviteRequester\PendingJoinRequests: Someone has requested to join a chat or channel.
- [\danog\MadelineProto\EventHandler\Delete\DeleteChannelMessages: Some messages in a supergroup/channel were deleted.](/PHP/danog/MadelineProto/EventHandler/Delete/DeleteChannelMessages.html)
- \danog\MadelineProto\EventHandler\Delete\DeleteMessages: Some messages were deleted in a private chat or simple group.
- [\danog\MadelineProto\EventHandler\Delete\DeleteScheduledMessages: Some scheduled messages were deleted from the schedule queue of a chat.](/PHP/danog/MadelineProto/EventHandler/Delete/DeleteScheduledMessages.html)
- \danog\MadelineProto\EventHandler\Filter\FilterAllowAll: Allow all updates.
- \danog\MadelineProto\EventHandler\Filter\FilterButtonQueryData: Filters based on the content of a button query.
- \danog\MadelineProto\EventHandler\Filter\FilterChannel: Allow only updates coming from channels.
- \danog\MadelineProto\EventHandler\Filter\FilterCommand: Allow only messages containing the specified command.
- \danog\MadelineProto\EventHandler\Filter\FilterCommandCaseInsensitive: Allow only messages containing the specified case-insensitive command.
- \danog\MadelineProto\EventHandler\Filter\FilterEdited: Allows messages that were edited.
- \danog\MadelineProto\EventHandler\Filter\FilterEnded: Allow only ended calls.
- \danog\MadelineProto\EventHandler\Filter\FilterForwarded: Allow only forwarded messages.
- \danog\MadelineProto\EventHandler\Filter\FilterForwardedFrom: Allow only forwarded messages from a certain sender.
- \danog\MadelineProto\EventHandler\Filter\FilterFromAdmin: Allow only messages coming from the admin (defined as the peers returned by getReportPeers).
- \danog\MadelineProto\EventHandler\Filter\FilterFromBot: Allow only messages coming from bots.
- \danog\MadelineProto\EventHandler\Filter\FilterFromSender: Allow incoming or outgoing group messages made by a certain sender.
- \danog\MadelineProto\EventHandler\Filter\FilterFromSenders: Allow incoming or outgoing group messages made by a certain list of senders.
- \danog\MadelineProto\EventHandler\Filter\FilterGroup: Allow only updates coming from groups.
- \danog\MadelineProto\EventHandler\Filter\FilterIncoming: Allow only incoming messages.
- \danog\MadelineProto\EventHandler\Filter\FilterMedia: Allow any media messages.
- \danog\MadelineProto\EventHandler\Filter\FilterMessage: Allow any non-service message.
- \danog\MadelineProto\EventHandler\Filter\FilterNoMedia: Allow any messages except media messages.
- \danog\MadelineProto\EventHandler\Filter\FilterNotEdited: Allows messages that weren't edited.
- \danog\MadelineProto\EventHandler\Filter\FilterOutgoing: Allow only outgoing messages.
- \danog\MadelineProto\EventHandler\Filter\FilterPeer: Allow messages coming from or sent to a certain peer.
- \danog\MadelineProto\EventHandler\Filter\FilterPoll: Allow only messages that contain a poll.
- \danog\MadelineProto\EventHandler\Filter\FilterPrivate: Allow only updates coming from private chats.
- \danog\MadelineProto\EventHandler\Filter\FilterRegex: Allow only messages or button queries matching the specified regex.
- \danog\MadelineProto\EventHandler\Filter\FilterRegexMatchAll: Allow only messages or button queries matching the specified regex.
- \danog\MadelineProto\EventHandler\Filter\FilterReply: Allow messages that reply to other messages.
- \danog\MadelineProto\EventHandler\Filter\FilterReplyToSelf: Allow messages that reply to one of our messages.
- \danog\MadelineProto\EventHandler\Filter\FilterRunning: Allow only running calls.
- \danog\MadelineProto\EventHandler\Filter\FilterSecret: Allow only updates coming from secret chats.
- \danog\MadelineProto\EventHandler\Filter\FilterSender: Allow incoming or outgoing group messages made by a certain sender.
- \danog\MadelineProto\EventHandler\Filter\FilterSenders: Allow incoming or outgoing group messages made by a certain list of senders.
- \danog\MadelineProto\EventHandler\Filter\FilterService: Allow only service messages of any type.
- \danog\MadelineProto\EventHandler\Filter\FilterText: Allow only messages with a specific content.
- \danog\MadelineProto\EventHandler\Filter\FilterTextCaseInsensitive: Allow only messages with a specific case-insensitive content.
- \danog\MadelineProto\EventHandler\Filter\FilterTextContains: Allow only messages that contain a specific content.
- \danog\MadelineProto\EventHandler\Filter\FilterTextContainsCaseInsensitive: Allow only messages that contain a specific case-insensitive content.
- \danog\MadelineProto\EventHandler\Filter\FilterTextEnds: Allow only messages that ends with a specific content.
- \danog\MadelineProto\EventHandler\Filter\FilterTextEndsCaseInsensitive: Allow only messages that ends with a specific case-insensitive content.
- \danog\MadelineProto\EventHandler\Filter\FilterTextStarts: Allow only messages that start with a specific content.
- \danog\MadelineProto\EventHandler\Filter\FilterTextStartsCaseInsensitive: Allow only messages that start with a specific case-insensitive content.
- \danog\MadelineProto\EventHandler\Filter\FilterTopic: Allow only messages coming from groups that has topics (Supergroups only).
- \danog\MadelineProto\EventHandler\Filter\FilterTopicId: Allow only messages with a specific topic id (Supergroups only).
- \danog\MadelineProto\EventHandler\Filter\Combinator\FilterNot: NOTs a filter.
- \danog\MadelineProto\EventHandler\Filter\Combinator\FiltersAnd: ANDs multiple filters.
- \danog\MadelineProto\EventHandler\Filter\Combinator\FiltersOr: ORs multiple filters.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterAudio: Allow only audio files.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterDocument: Allow only documents.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterDocumentPhoto: Allow only documents containing an image.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterGif: Allow only GIFs.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterPhoto: Allow only photos.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterRoundVideo: Allow only round videos.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterSticker: Allow only stickers.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterVideo: Allow only videos.
- \danog\MadelineProto\EventHandler\Filter\Media\FilterVoice: Allow only voice messages.
- \danog\MadelineProto\EventHandler\Filter\Poll\FilterMultiplePoll: Allow only messages that contain a multiple poll.
- \danog\MadelineProto\EventHandler\Filter\Poll\FilterQuizPoll: Allow only messages that contain a quiz poll.
- \danog\MadelineProto\EventHandler\Filter\Poll\FilterSinglePoll: Allow only messages that contain a single poll.
- \danog\MadelineProto\EventHandler\Keyboard\InlineKeyboard: Represents an inline keyboard.
- \danog\MadelineProto\EventHandler\Keyboard\ReplyKeyboard: Represents a reply keyboard.
- \danog\MadelineProto\EventHandler\Media\AnimatedSticker: Represents an animated sticker.
- \danog\MadelineProto\EventHandler\Media\Audio: Represents an audio file.
- \danog\MadelineProto\EventHandler\Media\CustomEmoji: Represents a custom emoji sticker.
- \danog\MadelineProto\EventHandler\Media\Document: Represents a document.
- \danog\MadelineProto\EventHandler\Media\DocumentPhoto: Represents a photo uploaded as a document.
- \danog\MadelineProto\EventHandler\Media\GeoPoint
- \danog\MadelineProto\EventHandler\Media\Gif: Represents a GIF (or an MPEG4 file without sound).
- \danog\MadelineProto\EventHandler\Media\MaskPosition: Position of the mask
- \danog\MadelineProto\EventHandler\Media\MaskSticker: Represents a mask sticker.
- \danog\MadelineProto\EventHandler\Media\Photo: Represents a photo.
- \danog\MadelineProto\EventHandler\Media\RoundVideo: Represents a round video.
- \danog\MadelineProto\EventHandler\Media\StaticSticker: Represents a static sticker.
- \danog\MadelineProto\EventHandler\Media\Video: Represents a video.
- \danog\MadelineProto\EventHandler\Media\VideoSticker: Represents a video sticker.
- \danog\MadelineProto\EventHandler\Media\Voice: Represents a voice message.
- \danog\MadelineProto\EventHandler\Message\ChannelMessage: Represents an incoming or outgoing channel message.
- \danog\MadelineProto\EventHandler\Message\GroupMessage: Represents an incoming or outgoing group message.
- \danog\MadelineProto\EventHandler\Message\PrivateMessage: Represents an incoming or outgoing private message.
- \danog\MadelineProto\EventHandler\Message\ReportReason
- \danog\MadelineProto\EventHandler\Message\SecretMessage: Represents New encrypted message.
- \danog\MadelineProto\EventHandler\Message\Entities\BankCard: Indicates a credit card number.
- \danog\MadelineProto\EventHandler\Message\Entities\Blockquote: Message entity representing a block quote.
- \danog\MadelineProto\EventHandler\Message\Entities\Bold: Message entity representing bold text.
- \danog\MadelineProto\EventHandler\Message\Entities\BotCommand: Message entity representing a bot /command.
- \danog\MadelineProto\EventHandler\Message\Entities\Cashtag: Message entity representing a $cashtag.
- \danog\MadelineProto\EventHandler\Message\Entities\Code: Message entity representing a codeblock.
- \danog\MadelineProto\EventHandler\Message\Entities\CustomEmoji: Represents a custom emoji.
- \danog\MadelineProto\EventHandler\Message\Entities\Email: Message entity representing an email@example.com.
- \danog\MadelineProto\EventHandler\Message\Entities\Hashtag: #hashtag message entity.
- [\danog\MadelineProto\EventHandler\Message\Entities\InputMentionName: Message entity representing a user mention created by the user, not returned by the API.](/PHP/danog/MadelineProto/EventHandler/Message/Entities/InputMentionName.html)
- \danog\MadelineProto\EventHandler\Message\Entities\Italic: Message entity representing italic text.
- \danog\MadelineProto\EventHandler\Message\Entities\Mention: Message entity mentioning the current user.
- [\danog\MadelineProto\EventHandler\Message\Entities\MentionName: Message entity representing a user mention.](/PHP/danog/MadelineProto/EventHandler/Message/Entities/MentionName.html)
- \danog\MadelineProto\EventHandler\Message\Entities\Phone: Message entity representing a phone number.
- \danog\MadelineProto\EventHandler\Message\Entities\Pre: Message entity representing a preformatted codeblock, allowing the user to specify a programming language for the codeblock.
- \danog\MadelineProto\EventHandler\Message\Entities\Spoiler: Message entity representing a spoiler.
- \danog\MadelineProto\EventHandler\Message\Entities\Strike: Message entity representing strikethrough text.
- \danog\MadelineProto\EventHandler\Message\Entities\TextUrl: Message entity representing a text url: for in-text urls like https://google.com use Url.
- \danog\MadelineProto\EventHandler\Message\Entities\Underline: Message entity representing underlined text.
- \danog\MadelineProto\EventHandler\Message\Entities\Url: Message entity representing an in-text url: https://google.com; for text urls, use TextUrl.
- \danog\MadelineProto\EventHandler\Message\Service\DialogBotAllowed: We have given the bot permission to send us direct messages.
- \danog\MadelineProto\EventHandler\Message\Service\DialogChannelCreated: The channel was created.
- [\danog\MadelineProto\EventHandler\Message\Service\DialogChannelMigrateFrom: Indicates the channel was migrated from the specified chat.](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogChannelMigrateFrom.html)
- \danog\MadelineProto\EventHandler\Message\Service\DialogChatJoinedByLink: A user joined the chat via an invite link.
- [\danog\MadelineProto\EventHandler\Message\Service\DialogChatMigrateTo: Indicates the chat was migrated to the specified supergroup.](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogChatMigrateTo.html)
- \danog\MadelineProto\EventHandler\Message\Service\DialogContactSignUp: A contact just signed up to telegram.
- \danog\MadelineProto\EventHandler\Message\Service\DialogCreated: A chat or channel was created.
- \danog\MadelineProto\EventHandler\Message\Service\DialogDeleteMessages: Deleted messages.
- \danog\MadelineProto\EventHandler\Message\Service\DialogGameScore: Someone scored in a game.
- \danog\MadelineProto\EventHandler\Message\Service\DialogGeoProximityReached: A user of the chat is now in proximity of another user.
- \danog\MadelineProto\EventHandler\Message\Service\DialogGiftPremium: Info about a gifted Telegram Premium subscription.
- \danog\MadelineProto\EventHandler\Message\Service\DialogHistoryCleared: Chat history was cleared.
- \danog\MadelineProto\EventHandler\Message\Service\DialogMemberJoinedByRequest: A user was accepted into the group by an admin.
- \danog\MadelineProto\EventHandler\Message\Service\DialogMemberLeft: A member left the chat or channel.
- \danog\MadelineProto\EventHandler\Message\Service\DialogMembersJoined: Some members joined the chat or channel.
- \danog\MadelineProto\EventHandler\Message\Service\DialogMessagePinned: A message was pinned in a chat.
- [\danog\MadelineProto\EventHandler\Message\Service\DialogPeerRequested: Contains info about a peer that the user shared with the bot after clicking on a keyboardButtonRequestPeer button.](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogPeerRequested.html)
- \danog\MadelineProto\EventHandler\Message\Service\DialogPhoneCall: A phone call.
- \danog\MadelineProto\EventHandler\Message\Service\DialogPhotoChanged: The photo of the dialog was changed or deleted.
- \danog\MadelineProto\EventHandler\Message\Service\DialogReadMessages: Messages marked as read.
- \danog\MadelineProto\EventHandler\Message\Service\DialogScreenshotTaken: A screenshot of the chat was taken.
- \danog\MadelineProto\EventHandler\Message\Service\DialogSetChatTheme: The chat theme was changed.
- [\danog\MadelineProto\EventHandler\Message\Service\DialogSetChatWallPaper: The wallpaper of the current chat was changed.](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogSetChatWallPaper.html)
- \danog\MadelineProto\EventHandler\Message\Service\DialogSetTTL: The Time-To-Live of messages in this chat was changed.
- [\danog\MadelineProto\EventHandler\Message\Service\DialogSuggestProfilePhoto: A new profile picture was suggested using photos.uploadContactProfilePhoto.](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogSuggestProfilePhoto.html)
- \danog\MadelineProto\EventHandler\Message\Service\DialogTitleChanged: The title of a channel or group has changed.
- [\danog\MadelineProto\EventHandler\Message\Service\DialogTopicCreated: A forum topic was created.](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogTopicCreated.html)
- [\danog\MadelineProto\EventHandler\Message\Service\DialogTopicEdited: Forum topic information was edited.](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogTopicEdited.html)
- [\danog\MadelineProto\EventHandler\Message\Service\DialogWebView: Data from an opened reply keyboard bot web app was relayed to the bot that owns it (user & bot side service message).](/PHP/danog/MadelineProto/EventHandler/Message/Service/DialogWebView.html)
- \danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall\GroupCall: The group call has started or ended.
- \danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall\GroupCallInvited: A set of users was invited to the group call.
- \danog\MadelineProto\EventHandler\Message\Service\DialogGroupCall\GroupCallScheduled: A group call was scheduled.
- \danog\MadelineProto\EventHandler\Participant\Admin: Admin.
- \danog\MadelineProto\EventHandler\Participant\Banned: Banned/kicked user.
- \danog\MadelineProto\EventHandler\Participant\Creator: Channel/supergroup creator.
- \danog\MadelineProto\EventHandler\Participant\Left: A participant that left the channel/supergroup.
- \danog\MadelineProto\EventHandler\Participant\Member: Channel/supergroup participant.
- \danog\MadelineProto\EventHandler\Participant\MySelf: Myself.
- [\danog\MadelineProto\EventHandler\Participant\Rights\Admin: Represents the rights of an admin in a channel/supergroup.](/PHP/danog/MadelineProto/EventHandler/Participant/Rights/Admin.html)
- [\danog\MadelineProto\EventHandler\Participant\Rights\Banned: Represents the rights of a normal user in a supergroup/channel/chat. In this case, the flags are inverted: if set, a flag does not allow a user to do X.](/PHP/danog/MadelineProto/EventHandler/Participant/Rights/Banned.html)
- [\danog\MadelineProto\EventHandler\Pinned\PinnedChannelMessages: Represents messages that were pinned/unpinned in a channel.](/PHP/danog/MadelineProto/EventHandler/Pinned/PinnedChannelMessages.html)
- [\danog\MadelineProto\EventHandler\Pinned\PinnedGroupMessages: Represents messages that were pinned/unpinned in a chat/supergroup.](/PHP/danog/MadelineProto/EventHandler/Pinned/PinnedGroupMessages.html)
- \danog\MadelineProto\EventHandler\Pinned\PinnedPrivateMessages: Some messages were pinned in a private chat.
- \danog\MadelineProto\EventHandler\Plugin\RestartPlugin: Plugin that offers a /restart command to admins that can be used to restart the bot, applying changes.
- \danog\MadelineProto\EventHandler\Poll\MultiplePoll: Represents a poll with multiple options can be chosen as answer
- \danog\MadelineProto\EventHandler\Poll\PollAnswer: Represents a possible answer of a poll
- \danog\MadelineProto\EventHandler\Poll\QuizPoll: Represents a quiz (with wrong and correct answers, results shown in the return type) poll
- \danog\MadelineProto\EventHandler\Poll\SinglePoll: Represents a poll with a option can be chosen as answer
- \danog\MadelineProto\EventHandler\Privacy\Rule: Represents a privacy rule.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowAll: Allow all users.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowChatParticipants: Allow all participants of certain chats.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowCloseFriends
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowContacts: Allow all contacts.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\AllowUsers: Allow only certain user.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowAll: Disallow all users.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowChatParticipants: Disallow only participants of certain chats.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowContacts: Disallow only contacts.
- \danog\MadelineProto\EventHandler\Privacy\RuleDestination\DisallowUsers: Disallow only certain users.
- \danog\MadelineProto\EventHandler\Query\ChatButtonQuery: Represents a query sent by the user by clicking on a button in a chat.
- \danog\MadelineProto\EventHandler\Query\ChatGameQuery: Represents a query sent by the user by clicking on a "Play game" button in a chat.
- \danog\MadelineProto\EventHandler\Query\InlineButtonQuery: Represents a query sent by the user by clicking on a button in an inline message.
- \danog\MadelineProto\EventHandler\Query\InlineGameQuery: Represents a query sent by the user by clicking on a "Play game" button in an inline message.
- \danog\MadelineProto\EventHandler\Story\Story: Represents a Telegram story.
- \danog\MadelineProto\EventHandler\Story\StoryDeleted: Represents a deleted story.
- \danog\MadelineProto\EventHandler\Story\StoryReaction: Represents a reaction to a story.
- \danog\MadelineProto\EventHandler\Topic\IconColor: Specifies the color of the fallback topic icon (RGB) if no custom emoji icon is specified.
- \danog\MadelineProto\EventHandler\Typing\ChatUserTyping: The user is preparing a message in a group; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing.
- \danog\MadelineProto\EventHandler\Typing\SecretUserTyping: The user is preparing a message in a secret chat; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing.
- [\danog\MadelineProto\EventHandler\Typing\SupergroupUserTyping: A user is typing in a supergroup.](/PHP/danog/MadelineProto/EventHandler/Typing/SupergroupUserTyping.html)
- \danog\MadelineProto\EventHandler\Typing\UserTyping: The user is preparing a message; typing, recording, uploading, etc. This update is valid for 6 seconds. If no further updates of this kind are received after 6 seconds, it should be considered that the user stopped doing whatever they were doing.
- \danog\MadelineProto\EventHandler\User\Blocked: A peer was blocked.
- \danog\MadelineProto\EventHandler\User\BotStopped: A bot was stopped or re-started.
- \danog\MadelineProto\EventHandler\User\Phone: A user’s phone number was changed.
- \danog\MadelineProto\EventHandler\User\Username: Changes were made to the user’s first name, last name or username.
- \danog\MadelineProto\EventHandler\User\UsernameInfo: Represents an username.
- [\danog\MadelineProto\EventHandler\User\Status\Emoji: The emoji status of a certain user has changed or was removed.](/PHP/danog/MadelineProto/EventHandler/User/Status/Emoji.html)
- \danog\MadelineProto\EventHandler\User\Status\EmptyStatus: User status has not been set yet.
- \danog\MadelineProto\EventHandler\User\Status\LastMonth: Online status: last seen last month.
- \danog\MadelineProto\EventHandler\User\Status\LastWeek: Online status: last seen last week.
- \danog\MadelineProto\EventHandler\User\Status\Offline: The user’s offline status.
- \danog\MadelineProto\EventHandler\User\Status\Online: Online status of the user.
- \danog\MadelineProto\EventHandler\User\Status\Recently: Online status: last seen recently.
- [\danog\MadelineProto\EventHandler\Wallpaper\WallpaperSettings: Info on how to generate a wallpaper, according to these instructions ».](/PHP/danog/MadelineProto/EventHandler/Wallpaper/WallpaperSettings.html)
- \danog\DialogId\DialogId: Represents the type of a bot API dialog ID.
- \danog\MadelineProto\RPCError\BotPaymentsDisabledError: Please enable bot payments in botfather before calling this method.
- \danog\MadelineProto\RPCError\BroadcastPublicVotersForbiddenError: You can't forward polls with public voters.
- [\danog\MadelineProto\RPCError\ButtonUserPrivacyRestrictedError: The privacy setting of the user specified in a inputKeyboardButtonUserProfile button do not allow creating such a button.](/PHP/danog/MadelineProto/RPCError/ButtonUserPrivacyRestrictedError.html)
- \danog\MadelineProto\RPCError\CallAlreadyAcceptedError: The call was already accepted.
- \danog\MadelineProto\RPCError\CallAlreadyDeclinedError: The call was already declined.
- \danog\MadelineProto\RPCError\ChannelInvalidError: The provided channel is invalid.
- \danog\MadelineProto\RPCError\ChannelPrivateError: You haven't joined this channel/supergroup.
- \danog\MadelineProto\RPCError\ChatAdminRequiredError: You must be an admin in this chat to do this.
- \danog\MadelineProto\RPCError\ChatForbiddenError: This chat is not available to the current user.
- \danog\MadelineProto\RPCError\ChatForwardsRestrictedError: You can't forward messages from a protected chat.
- [\danog\MadelineProto\RPCError\ChatGuestSendForbiddenError: You join the discussion group before commenting, see here » for more info.](/PHP/danog/MadelineProto/RPCError/ChatGuestSendForbiddenError.html)
- \danog\MadelineProto\RPCError\ChatRestrictedError: You can't send messages in this chat, you were restricted.
- \danog\MadelineProto\RPCError\ChatSendAudiosForbiddenError: You can't send audio messages in this chat.
- \danog\MadelineProto\RPCError\ChatSendDocsForbiddenError: You can't send documents in this chat.
- \danog\MadelineProto\RPCError\ChatSendGifsForbiddenError: You can't send gifs in this chat.
- \danog\MadelineProto\RPCError\ChatSendMediaForbiddenError: You can't send media in this chat.
- \danog\MadelineProto\RPCError\ChatSendPhotosForbiddenError: You can't send photos in this chat.
- \danog\MadelineProto\RPCError\ChatSendPlainForbiddenError: You can't send non-media (text) messages in this chat.
- \danog\MadelineProto\RPCError\ChatSendPollForbiddenError: You can't send polls in this chat.
- \danog\MadelineProto\RPCError\ChatSendRoundvideosForbiddenError: You can't send round videos to this chat.
- \danog\MadelineProto\RPCError\ChatSendStickersForbiddenError: You can't send stickers in this chat.
- \danog\MadelineProto\RPCError\ChatSendVideosForbiddenError: You can't send videos in this chat.
- \danog\MadelineProto\RPCError\ChatSendVoicesForbiddenError: You can't send voice recordings in this chat.
- \danog\MadelineProto\RPCError\ChatWriteForbiddenError: You can't write in this chat.
- \danog\MadelineProto\RPCError\DcIdInvalidError: The provided DC ID is invalid.
- \danog\MadelineProto\RPCError\EncryptionAlreadyAcceptedError: Secret chat already accepted.
- \danog\MadelineProto\RPCError\EncryptionAlreadyDeclinedError: The secret chat was already declined.
- \danog\MadelineProto\RPCError\EncryptionDeclinedError: The secret chat was declined.
- [\danog\MadelineProto\RPCError\FileReferenceExpiredError: File reference expired, it must be refetched as described in the documentation.](/PHP/danog/MadelineProto/RPCError/FileReferenceExpiredError.html)
- \danog\MadelineProto\RPCError\FileTokenInvalidError: The master DC did not accept the
file_token
(e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile. - \danog\MadelineProto\RPCError\FloodPremiumWaitError: Represents a FLOOD_PREMIUM_WAIT_ RPC error returned by telegram.
- \danog\MadelineProto\RPCError\FloodWaitError: Represents a FLOOD_WAIT_ RPC error returned by telegram.
- \danog\MadelineProto\RPCError\FromMessageBotDisabledError: Bots can't use fromMessage min constructors.
- \danog\MadelineProto\RPCError\ImageProcessFailedError: Failure while processing image.
- \danog\MadelineProto\RPCError\InputUserDeactivatedError: The specified user was deleted.
- \danog\MadelineProto\RPCError\MsgIdInvalidError: Invalid message ID provided.
- \danog\MadelineProto\RPCError\PasswordHashInvalidError: The provided password hash is invalid.
- [\danog\MadelineProto\RPCError\PaymentUnsupportedError: A detailed description of the error will be received separately as described here ».](/PHP/danog/MadelineProto/RPCError/PaymentUnsupportedError.html)
- \danog\MadelineProto\RPCError\PeerIdInvalidError: The provided peer id is invalid.
- \danog\MadelineProto\RPCError\PinnedDialogsTooMuchError: Too many pinned dialogs.
- \danog\MadelineProto\RPCError\PollOptionDuplicateError: Duplicate poll options provided.
- \danog\MadelineProto\RPCError\PremiumAccountRequiredError: A premium account is required to execute this action.
- [\danog\MadelineProto\RPCError\PrivacyPremiumRequiredError: You need a Telegram Premium subscription to send a message to this user.](/PHP/danog/MadelineProto/RPCError/PrivacyPremiumRequiredError.html)
- \danog\MadelineProto\RPCError\QuizCorrectAnswersTooMuchError: You specified too many correct answers in a quiz, quizzes can only have one right answer!
- \danog\MadelineProto\RPCError\RateLimitError: Represents a rate limiting RPC error returned by telegram.
- \danog\MadelineProto\RPCError\RequestTokenInvalidError: The master DC did not accept the
request_token
from the CDN DC. Continue downloading the file from the master DC using upload.getFile. - \danog\MadelineProto\RPCError\ScheduleBotNotAllowedError: Bots cannot schedule messages.
- \danog\MadelineProto\RPCError\ScheduleDateTooLateError: You can't schedule a message this far in the future.
- \danog\MadelineProto\RPCError\ScheduleStatusPrivateError: Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.
- \danog\MadelineProto\RPCError\ScheduleTooMuchError: There are too many scheduled messages.
- \danog\MadelineProto\RPCError\SessionPasswordNeededError: 2FA is enabled, use a password to login.
- \danog\MadelineProto\RPCError\TimeoutError: Represents a request timeout RPC error returned by telegram.
- \danog\MadelineProto\RPCError\TopicClosedError: This topic was closed, you can't send messages to it anymore.
- \danog\MadelineProto\RPCError\TopicDeletedError: The specified topic was deleted.
- \danog\MadelineProto\RPCError\UserBannedInChannelError: You're banned from sending messages in supergroups/channels.
- \danog\MadelineProto\RPCError\UserIsBlockedError: You were blocked by this user.
- \danog\MadelineProto\RPCError\UserIsBotError: Bots can't send messages to other bots.
- \danog\MadelineProto\RPCError\UsernameInvalidError: The provided username is not valid.
- \danog\MadelineProto\RPCError\UsernameNotOccupiedError: The provided username is not occupied.
- \danog\MadelineProto\RPCError\VoiceMessagesForbiddenError: This user's privacy settings forbid you from sending voice messages.
- \danog\MadelineProto\RPCError\WebpageCurlFailedError: Failure while fetching the webpage with cURL.
- \danog\MadelineProto\RPCError\WebpageNotFoundError: A preview for the specified webpage
url
could not be generated. - \danog\MadelineProto\RPCError\YouBlockedUserError: You blocked this user.
- \danog\MadelineProto\SecretChats\SecretChat: Represents a secret chat.
- \danog\MadelineProto\Settings\AppInfo: App information.
- \danog\MadelineProto\Settings\Auth: Cryptography settings.
- \danog\MadelineProto\Settings\Connection: Connection settings.
- \danog\MadelineProto\Settings\Files: File management settings.
- \danog\MadelineProto\Settings\Ipc: IPC server settings.
- \danog\MadelineProto\Settings\Logger: Logger settings.
- \danog\MadelineProto\Settings\Metrics: Metric settings.
- \danog\MadelineProto\Settings\Peer: Peer database settings.
- \danog\MadelineProto\Settings\Pwr: PWRTelegram settings.
- \danog\MadelineProto\Settings\RPC: RPC settings.
- \danog\MadelineProto\Settings\SecretChats: Secret chat settings.
- \danog\MadelineProto\Settings\Serialization: Serialization settings.
- \danog\MadelineProto\Settings\TLSchema: TL schema settings.
- \danog\MadelineProto\Settings\Templates: Web and CLI template settings for login.
- \danog\MadelineProto\Settings\VoIP: VoIP settings.
- \danog\MadelineProto\Settings\Database\Memory: Memory backend settings.
- \danog\MadelineProto\Settings\Database\Mysql: MySQL backend settings.
- \danog\MadelineProto\Settings\Database\Postgres: Postgres backend settings.
- \danog\MadelineProto\Settings\Database\Redis: Redis backend settings.
- \danog\MadelineProto\Settings\Database\SerializerType
- \danog\MadelineProto\TL\Exception: TL deserialization exception.
- \danog\MadelineProto\TL\Conversion\Exception: TL conversion exception.
- \danog\MadelineProto\TL\Types\Button: Clickable button.
- \danog\MadelineProto\TL\Types\Bytes: Bytes wrapper.
- \danog\MadelineProto\TL\Types\LoginQrCode: Represents a login QR code.
- \danog\MadelineProto\VoIP\CallState
- \danog\MadelineProto\VoIP\DiscardReason: Why was the call discarded?
- \danog\MadelineProto\VoIP\VoIPState: VoIP protcol state.
Generated by danog/phpdoc.