Skip to content

Added support for inline and reply buttons styles and custom emojis - #1438

Open
omni-devel wants to merge 8 commits into
teloxide:masterfrom
omni-devel:button_styles
Open

Added support for inline and reply buttons styles and custom emojis#1438
omni-devel wants to merge 8 commits into
teloxide:masterfrom
omni-devel:button_styles

Conversation

@omni-devel

Copy link
Copy Markdown

No description provided.

@teloxidebot teloxidebot added A-tba-types Area: representation of telegram bot API types C-core crate: teloxide-core S-waiting-on-review Status: Awaiting review from the assignee labels Feb 19, 2026
@omni-devel omni-devel changed the title Added support for inline and reply buttons styles Added support for inline and reply buttons styles and custom emojis Feb 19, 2026
@rubiconvvv

Copy link
Copy Markdown

👍🏽

@LasterAlex LasterAlex left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nitpicks not about the code

Comment thread crates/teloxide-core/CHANGELOG.md Outdated

## unreleased

## 0.14.0 - 2025-07-11

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unreleased, not 0.14.0

text: String::from(""),
request: Some(ButtonRequest::Contact),
style: None,
icon_custom_emoji_id: None,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would appreciate tests where style and emoji id arent none


#[derive(Clone, Debug, Eq, Hash, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "snake_case")]
pub enum ButtonStyle {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename file name to button_style.rs

Comment thread crates/teloxide-core/Cargo.toml Outdated
[package]
name = "teloxide-core"
version = "0.13.0"
version = "0.14.0"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, we have a procedure to bump up

@LasterAlex

Copy link
Copy Markdown
Collaborator

Also resolve conflicts please, rebase to main

@omni-devel

Copy link
Copy Markdown
Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tba-types Area: representation of telegram bot API types C-core crate: teloxide-core S-waiting-on-review Status: Awaiting review from the assignee

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants